Browse Source

Skip cyrrilic test on windows; doesn't support arbitrary bytes in paths.

Jelmer Vernooij 6 years ago
parent
commit
98f38dd6ae
1 changed files with 3 additions and 0 deletions
  1. 3 0
      dulwich/tests/test_refs.py

+ 3 - 0
dulwich/tests/test_refs.py

@@ -506,6 +506,9 @@ class DiskRefsContainerTests(RefsContainerTests, TestCase):
         self.assertEqual(expected_refs, self._repo.get_refs())
 
     def test_cyrillic(self):
+        if sys.platform == 'win32':
+            raise SkipTest(
+                    "filesystem encoding doesn't support arbitrary bytes")
         # reported in https://github.com/dulwich/dulwich/issues/608
         name = b'\xcd\xee\xe2\xe0\xff\xe2\xe5\xf2\xea\xe01'
         encoded_ref = b'refs/heads/' + name