From: Benjamin Peterson Date: Sun, 29 Sep 2013 19:18:43 +0000 (-0400) Subject: rename some more tests to avoid duplicate names (#19123) X-Git-Tag: v3.4.0a4~311^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=95536b8405e318457ea41f8f10ee645231b48faa;p=python rename some more tests to avoid duplicate names (#19123) --- diff --git a/Lib/test/test_regrtest.py b/Lib/test/test_regrtest.py index 2bb8db129f..a398a4f836 100644 --- a/Lib/test/test_regrtest.py +++ b/Lib/test/test_regrtest.py @@ -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])