ソースを参照

Import expectedFailure for use in tests.

Jelmer Vernooij 10 年 前
コミット
742442f586
1 ファイル変更2 行追加2 行削除
  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):