Procházet zdrojové kódy

Skip symlink test on Windows and Python 2

Boris Feld před 6 roky
rodič
revize
860a8444f3
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  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."""