Explorar el Código

Skip test broken on Python3.6 w/ Windows.

Jelmer Vernooij hace 8 años
padre
commit
deca114fc2
Se han modificado 1 ficheros con 2 adiciones y 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())