summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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__)