Commit de3c73b5 authored by Antoine Pitrou's avatar Antoine Pitrou

pep8-ize test names

parent 6b64fc6b
...@@ -593,7 +593,7 @@ class GCCallbackTests(unittest.TestCase): ...@@ -593,7 +593,7 @@ class GCCallbackTests(unittest.TestCase):
for e in uc: for e in uc:
e.partner = None e.partner = None
def testCollect(self): def test_collect(self):
self.preclean() self.preclean()
gc.collect() gc.collect()
# Algorithmically verify the contents of self.visit # Algorithmically verify the contents of self.visit
...@@ -620,14 +620,14 @@ class GCCallbackTests(unittest.TestCase): ...@@ -620,14 +620,14 @@ class GCCallbackTests(unittest.TestCase):
self.assertTrue("collected" in info) self.assertTrue("collected" in info)
self.assertTrue("uncollectable" in info) self.assertTrue("uncollectable" in info)
def testCollectGen(self): def test_collect_generation(self):
self.preclean() self.preclean()
gc.collect(2) gc.collect(2)
for v in self.visit: for v in self.visit:
info = v[2] info = v[2]
self.assertEqual(info["generation"], 2) self.assertEqual(info["generation"], 2)
def testCollectGarbage(self): def test_collect_garbage(self):
self.preclean() self.preclean()
# Each of these cause four objects to be garbage: Two # Each of these cause four objects to be garbage: Two
# Uncolectables and their instance dicts. # Uncolectables and their instance dicts.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment