Explorar o código

Skip symlink test on Windows and Python 2

Boris Feld %!s(int64=6) %!d(string=hai) anos
pai
achega
860a8444f3
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      dulwich/tests/test_index.py

+ 1 - 0
dulwich/tests/test_index.py

@@ -694,6 +694,7 @@ class GetUnstagedChangesTests(TestCase):
 
             self.assertEqual(list(changes), [b'foo1'])
 
+    @skipIf(not can_symlink(), 'Requires symlink support')
     def test_get_unstaged_changes_removed_replaced_by_link(self):
         """Unit test for get_unstaged_changes."""