浏览代码

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

Jelmer Vernooij 6 年之前
父节点
当前提交
98f38dd6ae
共有 1 个文件被更改,包括 3 次插入0 次删除
  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