mirror of
https://github.com/python/cpython
synced 2024-10-08 11:45:22 +00:00
rename some more tests to avoid duplicate names (#19123)
This commit is contained in:
parent
c82d9dee0f
commit
95536b8405
|
@ -167,13 +167,13 @@ def test_testdir(self):
|
|||
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 @@ def test_multiprocess(self):
|
|||
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…
Reference in a new issue