don't rely on the order of module clearing
diff --git a/Lib/test/test_module.py b/Lib/test/test_module.py
index 5605e3c..21eaf3e 100644
--- a/Lib/test/test_module.py
+++ b/Lib/test/test_module.py
@@ -70,7 +70,7 @@
         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__)