mirror of https://github.com/python/cpython
delete duplicate test (closes #19123)
This commit is contained in:
parent
96609b701e
commit
11f34caac4
|
@ -167,12 +167,6 @@ class ParseArgsTestCase(unittest.TestCase):
|
||||||
self.assertEqual(ns.testdir, os.path.join(support.SAVEDCWD, 'foo'))
|
self.assertEqual(ns.testdir, os.path.join(support.SAVEDCWD, 'foo'))
|
||||||
self.checkError(['--testdir'], 'expected one argument')
|
self.checkError(['--testdir'], 'expected one argument')
|
||||||
|
|
||||||
def test_findleaks(self):
|
|
||||||
for opt in '-l', '--findleaks':
|
|
||||||
with self.subTest(opt=opt):
|
|
||||||
ns = regrtest._parse_args([opt])
|
|
||||||
self.assertTrue(ns.findleaks)
|
|
||||||
|
|
||||||
def test_findleaks(self):
|
def test_findleaks(self):
|
||||||
for opt in '-L', '--runleaks':
|
for opt in '-L', '--runleaks':
|
||||||
with self.subTest(opt=opt):
|
with self.subTest(opt=opt):
|
||||||
|
|
Loading…
Reference in New Issue