Răsfoiți Sursa

Skip symlink test on Windows and Python 2

Boris Feld 6 ani în urmă
părinte
comite
860a8444f3
1 a modificat fișierele cu 1 adăugiri și 0 ștergeri
  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."""