diff options
author | DWesl <22566757+DWesl@users.noreply.github.com> | 2022-06-20 20:43:31 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-20 20:43:31 -0400 |
commit | 7f3689d1f9ffb3ae9122a284129b61e64ac30d2d (patch) | |
tree | 164726e2ce9b144dcdf240ae63deac95f64856e1 /test | |
parent | 0eda0a54b3093681ed5431c003ec4994aecfe273 (diff) | |
download | gitpython-7f3689d1f9ffb3ae9122a284129b61e64ac30d2d.tar.gz |
TST: Mark test_submodule.TestSubmodule.test_root_module as xfail on Cygwin
Diffstat (limited to 'test')
-rw-r--r-- | test/test_submodule.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/test_submodule.py b/test/test_submodule.py index 2930ce03..98cc5543 100644 --- a/test/test_submodule.py +++ b/test/test_submodule.py @@ -3,8 +3,11 @@ # the BSD License: http://www.opensource.org/licenses/bsd-license.php import os import shutil +import sys from unittest import skipIf +import pytest + import git from git.cmd import Git from git.compat import is_win @@ -433,6 +436,11 @@ class TestSubmodule(TestBase): def test_base_rw(self, rwrepo): self._do_base_tests(rwrepo) + @pytest.mark.xfail( + sys.platform == "cygwin", + reason="Cygwin GitPython can't find submodule SHA", + raises=ValueError + ) @with_rw_repo(k_subm_current, bare=True) def test_base_bare(self, rwrepo): self._do_base_tests(rwrepo) |