瀏覽代碼

Skip test_commit_no_encode_decode on Mac OS X.

Jelmer Vernooij 4 年之前
父節點
當前提交
98efd2ebf4
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      dulwich/tests/test_repository.py

+ 1 - 1
dulwich/tests/test_repository.py

@@ -1096,7 +1096,7 @@ class BuildRepoRootTests(TestCase):
         r.stage(['c'])
         self.assertEqual([b'a'], list(r.open_index()))
 
-    @skipIf(sys.platform == 'win32',
+    @skipIf(sys.platform in ('win32', 'darwin'),
             'tries to implicitly decode as utf8')
     def test_commit_no_encode_decode(self):
         r = self._repo