diff --git a/Lib/test/test_regrtest.py b/Lib/test/test_regrtest.py index 353874b5a3e..2bb8db129f6 100644 --- a/Lib/test/test_regrtest.py +++ b/Lib/test/test_regrtest.py @@ -167,12 +167,6 @@ class ParseArgsTestCase(unittest.TestCase): self.assertEqual(ns.testdir, os.path.join(support.SAVEDCWD, 'foo')) 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): for opt in '-L', '--runleaks': with self.subTest(opt=opt):