mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
rename some more tests to avoid duplicate names (#19123)
This commit is contained in:
parent
c82d9dee0f
commit
95536b8405
1 changed files with 3 additions and 3 deletions
|
@ -167,13 +167,13 @@ class ParseArgsTestCase(unittest.TestCase):
|
|||
self.assertEqual(ns.testdir, os.path.join(support.SAVEDCWD, 'foo'))
|
||||
self.checkError(['--testdir'], 'expected one argument')
|
||||
|
||||
def test_findleaks(self):
|
||||
def test_runleaks(self):
|
||||
for opt in '-L', '--runleaks':
|
||||
with self.subTest(opt=opt):
|
||||
ns = regrtest._parse_args([opt])
|
||||
self.assertTrue(ns.runleaks)
|
||||
|
||||
def test_findleaks(self):
|
||||
def test_huntrleaks(self):
|
||||
for opt in '-R', '--huntrleaks':
|
||||
with self.subTest(opt=opt):
|
||||
ns = regrtest._parse_args([opt, ':'])
|
||||
|
@ -201,7 +201,7 @@ class ParseArgsTestCase(unittest.TestCase):
|
|||
self.checkError([opt, '2', '-l'], "don't go together")
|
||||
self.checkError([opt, '2', '-M', '4G'], "don't go together")
|
||||
|
||||
def test_findleaks(self):
|
||||
def test_coverage(self):
|
||||
for opt in '-T', '--coverage':
|
||||
with self.subTest(opt=opt):
|
||||
ns = regrtest._parse_args([opt])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue