فهرست منبع

Use skipTest rather than skip, as the latter isn't available without testtools. Thanks, milki.

Jelmer Vernooij 13 سال پیش
والد
کامیت
1e5988ff87
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      dulwich/tests/test_index.py

+ 1 - 1
dulwich/tests/test_index.py

@@ -250,7 +250,7 @@ class BuildIndexTests(TestCase):
 
     def test_nonempty(self):
         if os.name != 'posix':
-            self.skip("test depends on POSIX shell")
+            self.skipTest("test depends on POSIX shell")
 
         repo_dir = tempfile.mkdtemp()
         repo = Repo.init(repo_dir)