summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_gc.py
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-10-23 17:22:08 (GMT)
committerFred Drake <fdrake@acm.org>2000-10-23 17:22:08 (GMT)
commit004d5e6880940ddbb38460986ac62ee0f1bae97d (patch)
tree682e75e743f5c22206a65ac0262c03ce37e4fbee /Lib/test/test_gc.py
parent2e6d25c5bbf3e2d4f18191c0836b5ed8f94dc850 (diff)
downloadcpython-004d5e6880940ddbb38460986ac62ee0f1bae97d.zip
cpython-004d5e6880940ddbb38460986ac62ee0f1bae97d.tar.gz
cpython-004d5e6880940ddbb38460986ac62ee0f1bae97d.tar.bz2
Make reindent.py happy (convert everything to 4-space indents!).
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 da0b141..f4714d5 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