]> granicus.if.org Git - python/commitdiff
rename some more tests to avoid duplicate names (#19123)
authorBenjamin Peterson <benjamin@python.org>
Sun, 29 Sep 2013 19:18:43 +0000 (15:18 -0400)
committerBenjamin Peterson <benjamin@python.org>
Sun, 29 Sep 2013 19:18:43 +0000 (15:18 -0400)
Lib/test/test_regrtest.py

index 2bb8db129f699dbee80818fad66541f09bab028a..a398a4f836eeadccdd0db07dd7a44024f8a3158f 100644 (file)
@@ -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])