Procházet zdrojové kódy

Import expectedFailure for use in tests.

Jelmer Vernooij před 10 roky
rodič
revize
742442f586
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  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):