summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_gc.py
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2012-04-16 19:29:58 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2012-04-16 19:29:58 (GMT)
commitde3c73b57c783e0dac6233960be12629c446529c (patch)
tree7387a983fa3d0100d570f19dde5d68c65ca5e720 /Lib/test/test_gc.py
parent6b64fc6bffdb76b2fbe60b69df1845c13e0a0a23 (diff)
downloadcpython-de3c73b57c783e0dac6233960be12629c446529c.zip
cpython-de3c73b57c783e0dac6233960be12629c446529c.tar.gz
cpython-de3c73b57c783e0dac6233960be12629c446529c.tar.bz2
pep8-ize test names
Diffstat (limited to 'Lib/test/test_gc.py')
-rw-r--r--Lib/test/test_gc.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/test_gc.py b/Lib/test/test_gc.py
index 9036975..d35f9ed 100644
--- a/Lib/test/test_gc.py
+++ b/Lib/test/test_gc.py
@@ -593,7 +593,7 @@ class GCCallbackTests(unittest.TestCase):
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 @@ class GCCallbackTests(unittest.TestCase):
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.