Explorar el Código

Import expectedFailure for use in tests.

Jelmer Vernooij hace 10 años
padre
commit
742442f586
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      dulwich/tests/__init__.py

+ 2 - 2
dulwich/tests/__init__.py

@@ -30,9 +30,9 @@ import tempfile
 # If Python itself provides an exception, use that
 import unittest
 if sys.version_info < (2, 7):
-    from unittest2 import SkipTest, TestCase as _TestCase, skipIf
+    from unittest2 import SkipTest, TestCase as _TestCase, skipIf, expectedFailure
 else:
-    from unittest import SkipTest, TestCase as _TestCase, skipIf
+    from unittest import SkipTest, TestCase as _TestCase, skipIf, expectedFailure
 
 
 def get_safe_env(env=None):