Commits

Armin Rigo  committed ad3579c

Easy fix

  • Participants
  • Parent commits 337bb89

Comments (0)

Files changed (2)

File pypy/interpreter/mixedmodule.py

             # the module was already imported.  Refresh its content with
             # the saved dict, as done with built-in and extension modules
             # on CPython.
+            space.call_method(self.w_dict, 'clear')
             space.call_method(self.w_dict, 'update', self.w_initialdict)
 
         for w_submodule in self.submodules_w:

File pypy/module/imp/test/test_import.py

         assert hasattr(time, 'tzset')
 
     def test_reimport_builtin_simple_case_2(self):
-        skip("fix me")
         import sys, time
         time.foo = "bar"
         del sys.modules['time']