Sfoglia il codice sorgente

Skip test broken on Python3.6 w/ Windows.

Jelmer Vernooij 8 anni fa
parent
commit
deca114fc2
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  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())