[Python-checkins] cpython: rename some more tests to avoid duplicate names (#19123)
benjamin.peterson
python-checkins at python.org
Sun Sep 29 21:18:51 CEST 2013
http://hg.python.org/cpython/rev/280d403434c4
changeset: 85870:280d403434c4
user: Benjamin Peterson <benjamin at python.org>
date: Sun Sep 29 15:18:43 2013 -0400
summary:
rename some more tests to avoid duplicate names (#19123)
files:
Lib/test/test_regrtest.py | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/Lib/test/test_regrtest.py b/Lib/test/test_regrtest.py
--- a/Lib/test/test_regrtest.py
+++ b/Lib/test/test_regrtest.py
@@ -167,13 +167,13 @@
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 @@
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])
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list