Whitespace normalization. Ugh, we really need to do this more often.
You might want to review this change as it's my first time. Be gentle. :-)
diff --git a/Lib/test/test_gc.py b/Lib/test/test_gc.py
index 4cb3402..8d37537 100644
--- a/Lib/test/test_gc.py
+++ b/Lib/test/test_gc.py
@@ -6,7 +6,7 @@
### Support code
###############################################################################
-
+
# Bug 1055820 has several tests of longstanding bugs involving weakrefs and
# cyclic gc.
@@ -32,9 +32,9 @@
self.wr = weakref.ref(C1055820(666), it_happened)
-### Tests
+### Tests
###############################################################################
-
+
class GCTests(unittest.TestCase):
def test_list(self):
l = []
@@ -259,7 +259,7 @@
Ouch.n = Ouch.n + 1
if Ouch.n % 17 == 0:
gc.collect()
-
+
# "trashcan" is a hack to prevent stack overflow when deallocating
# very deeply nested tuples etc. It works in part by abusing the
# type pointer and refcount fields, and that can yield horrible
@@ -292,7 +292,7 @@
def __getattr__(self, someattribute):
del self.attr
raise AttributeError
-
+
a = Boom()
b = Boom()
a.attr = b
@@ -321,7 +321,7 @@
if self.x > 1:
del self.attr
raise AttributeError
-
+
a = Boom2()
b = Boom2()
a.attr = b
@@ -346,7 +346,7 @@
def __getattr__(self, someattribute):
del self.attr
raise AttributeError
-
+
a = Boom_New()
b = Boom_New()
a.attr = b
@@ -368,7 +368,7 @@
if self.x > 1:
del self.attr
raise AttributeError
-
+
a = Boom2_New()
b = Boom2_New()
a.attr = b
@@ -430,10 +430,10 @@
class GCTogglingTests(unittest.TestCase):
def setUp(self):
gc.enable()
-
+
def tearDown(self):
gc.disable()
-
+
def test_bug1055820c(self):
# Corresponds to temp2c.py in the bug report. This is pretty
# elaborate.
@@ -591,6 +591,6 @@
assert gc.isenabled()
if not enabled:
gc.disable()
-
+
if __name__ == "__main__":
test_main()