Commits

Vincent Legoll committed 3b43d0a

Fix other tests now broken

  • Participants
  • Parent commits 9d4bb86

Comments (0)

Files changed (1)

pypy/module/imp/test/test_import.py

         exec """def imp():
                     from .string import inpackage
         """.rstrip()
-        raises(ValueError, imp)
+        raises(ImportError, imp)
 
     def test_future_relative_import_error_when_in_non_package2(self):
         exec """def imp():
                     from .. import inpackage
         """.rstrip()
-        raises(ValueError, imp)
+        raises(ImportError, imp)
 
     def test_relative_import_with___name__(self):
         import sys