delete duplicate test (closes #19123)

This commit is contained in:
Benjamin Peterson 2013-09-29 10:39:51 -04:00
parent 96609b701e
commit 11f34caac4
1 changed files with 0 additions and 6 deletions

View File

@ -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):