[Python-checkins] cpython: pep8-ize test names
antoine.pitrou
python-checkins at python.org
Mon Apr 16 21:30:59 CEST 2012
http://hg.python.org/cpython/rev/b44eb630bf0a
changeset: 76360:b44eb630bf0a
user: Antoine Pitrou <solipsis at pitrou.net>
date: Mon Apr 16 21:29:58 2012 +0200
summary:
pep8-ize test names
files:
Lib/test/test_gc.py | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/Lib/test/test_gc.py b/Lib/test/test_gc.py
--- a/Lib/test/test_gc.py
+++ b/Lib/test/test_gc.py
@@ -593,7 +593,7 @@
for e in uc:
e.partner = None
- def testCollect(self):
+ def test_collect(self):
self.preclean()
gc.collect()
# Algorithmically verify the contents of self.visit
@@ -620,14 +620,14 @@
self.assertTrue("collected" in info)
self.assertTrue("uncollectable" in info)
- def testCollectGen(self):
+ def test_collect_generation(self):
self.preclean()
gc.collect(2)
for v in self.visit:
info = v[2]
self.assertEqual(info["generation"], 2)
- def testCollectGarbage(self):
+ def test_collect_garbage(self):
self.preclean()
# Each of these cause four objects to be garbage: Two
# Uncolectables and their instance dicts.
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list