Просмотр исходного кода

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

Jelmer Vernooij 12 лет назад
Родитель
Сommit
3925d4dd93
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)