summaryrefslogtreecommitdiff
path: root/Lib/test/test_gc.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_gc.py')
-rw-r--r--Lib/test/test_gc.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/Lib/test/test_gc.py b/Lib/test/test_gc.py
index da0b1419e1..f4714d57f1 100644
--- a/Lib/test/test_gc.py
+++ b/Lib/test/test_gc.py
@@ -134,15 +134,15 @@ def test_del():
gc.enable()
gc.set_threshold(1)
- class A:
- def __del__(self):
- dir(self)
+ class A:
+ def __del__(self):
+ dir(self)
a = A()
del a
gc.disable()
apply(gc.set_threshold, thresholds)
-
+
def test_all():
run_test("lists", test_list)
@@ -161,7 +161,7 @@ def test():
print "disabling automatic collection"
enabled = gc.isenabled()
gc.disable()
- assert not gc.isenabled()
+ assert not gc.isenabled()
debug = gc.get_debug()
gc.set_debug(debug & ~gc.DEBUG_LEAK) # this test is supposed to leak