summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_regrtest.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2013-09-29 19:18:43 (GMT)
committerBenjamin Peterson <benjamin@python.org>2013-09-29 19:18:43 (GMT)
commit95536b8405e318457ea41f8f10ee645231b48faa (patch)
tree4fd94db31f3f7744976959718d3e7f7467c5f8e0 /Lib/test/test_regrtest.py
parentc82d9dee0fa41c07d7e400d8fe432f4be506c38c (diff)
downloadcpython-95536b8405e318457ea41f8f10ee645231b48faa.zip
cpython-95536b8405e318457ea41f8f10ee645231b48faa.tar.gz
cpython-95536b8405e318457ea41f8f10ee645231b48faa.tar.bz2
rename some more tests to avoid duplicate names (#19123)
Diffstat (limited to 'Lib/test/test_regrtest.py')
-rw-r--r--Lib/test/test_regrtest.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/test_regrtest.py b/Lib/test/test_regrtest.py
index 2bb8db1..a398a4f 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])