Explorar o código

Skip test broken on Python3.6 w/ Windows.

Jelmer Vernooij %!s(int64=8) %!d(string=hai) anos
pai
achega
deca114fc2
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      dulwich/tests/test_repository.py

+ 2 - 0
dulwich/tests/test_repository.py

@@ -863,6 +863,8 @@ class BuildRepoRootTests(TestCase):
         r.stage(['a'])
         r.stage(['a'])  # double-stage a deleted path
 
+    @skipIf(sys.platform == 'win32' and sys.version_info[:2] >= (3, 6),
+            'tries to implicitly decode as utf8')
     def test_commit_no_encode_decode(self):
         r = self._repo
         repo_path_bytes = r.path.encode(sys.getfilesystemencoding())