Commits

Armin Rigo  committed 337bb89

Skip the tests: these are new tests that should be fixed, as they pass
on CPython.

  • Participants
  • Parent commits 1265890

Comments (0)

Files changed (2)

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

 
     def test_builtin_reimport(self):
         # from https://bugs.pypy.org/issue1514
+        skip("fix me")
         import sys, marshal
 
         old = marshal.loads

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

         assert sys.path is oldpath
         assert 'setdefaultencoding' in dir(sys)
 
-    def test_reimport_builtin_simple_case(self):
+    def test_reimport_builtin_simple_case_1(self):
+        import sys, time
+        del time.tzset
+        del sys.modules['time']
+        import time
+        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']
         assert not hasattr(time, 'foo')
 
     def test_reimport_builtin(self):
+        skip("fix me")
         import sys, time
         oldpath = sys.path
         time.tzset = "<test_reimport_builtin removed this>"