| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3,8 +3,11 @@ | |||
| 3 | 3 | # the BSD License: http://www.opensource.org/licenses/bsd-license.php | |
| 4 | 4 | import os | |
| 5 | 5 | import shutil | |
| 6 | + import sys | ||
| 6 | 7 | from unittest import skipIf | |
| 7 | 8 | ||
| 9 | + import pytest | ||
| 10 | + | ||
| 8 | 11 | import git | |
| 9 | 12 | from git.cmd import Git | |
| 10 | 13 | from git.compat import is_win | |
@@ -433,6 +436,11 @@ def _do_base_tests(self, rwrepo): | |||
| 433 | 436 | def test_base_rw(self, rwrepo): | |
| 434 | 437 | self._do_base_tests(rwrepo) | |
| 435 | 438 | ||
| 439 | + @pytest.mark.xfail( | ||
| 440 | + sys.platform == "cygwin", | ||
| 441 | + reason="Cygwin GitPython can't find submodule SHA", | ||
| 442 | + raises=ValueError | ||
| 443 | + ) | ||
| 436 | 444 | @with_rw_repo(k_subm_current, bare=True) | |
| 437 | 445 | def test_base_bare(self, rwrepo): | |
| 438 | 446 | self._do_base_tests(rwrepo) | |
| Back | FazBrowse Home | New Git URL |
0 commit comments