summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2012-02-20 20:43:25 (GMT)
committerGeorg Brandl <georg@python.org>2012-02-20 20:43:25 (GMT)
commitb9dafe618f9c157733bcbefb956348a99eb2ca3e (patch)
tree335f23d0465609fb9456e22914ce93113e884ccd
parenta108227c47b27116267aa2a131624e29d23d768d (diff)
parenta3ed11bd3409d61e6eb35995743e405790df2d3c (diff)
downloadcpython-b9dafe618f9c157733bcbefb956348a99eb2ca3e.zip
cpython-b9dafe618f9c157733bcbefb956348a99eb2ca3e.tar.gz
cpython-b9dafe618f9c157733bcbefb956348a99eb2ca3e.tar.bz2
Merge with 3.1.
-rw-r--r--Lib/test/test_module.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_module.py b/Lib/test/test_module.py
index 7734fb0..15836ca 100644
--- a/Lib/test/test_module.py
+++ b/Lib/test/test_module.py
@@ -70,7 +70,7 @@ class ModuleTests(unittest.TestCase):
m = ModuleType("foo")
m.destroyed = destroyed
s = """class A:
- def __del__(self):
+ def __del__(self, destroyed=destroyed):
destroyed.append(1)
a = A()"""
exec(s, m.__dict__)