diff options
author | Georg Brandl <georg@python.org> | 2012-02-20 20:43:25 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2012-02-20 20:43:25 (GMT) |
commit | b9dafe618f9c157733bcbefb956348a99eb2ca3e (patch) | |
tree | 335f23d0465609fb9456e22914ce93113e884ccd /Lib/test | |
parent | a108227c47b27116267aa2a131624e29d23d768d (diff) | |
parent | a3ed11bd3409d61e6eb35995743e405790df2d3c (diff) | |
download | cpython-b9dafe618f9c157733bcbefb956348a99eb2ca3e.zip cpython-b9dafe618f9c157733bcbefb956348a99eb2ca3e.tar.gz cpython-b9dafe618f9c157733bcbefb956348a99eb2ca3e.tar.bz2 |
Merge with 3.1.
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/test_module.py | 2 |
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__) |