diff options
author | Sebastian Thiel <sebastian.thiel@icloud.com> | 2022-06-21 11:45:00 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-21 11:45:00 +0800 |
commit | f0c6e1164f390081a27de952552aa83d34035f2a (patch) | |
tree | fcd116711c75c126c2fd083bb6a8c78ced5870ef /test/test_docs.py | |
parent | 6660b8463b86ea92ff56baebfcebc7c8a6e933fa (diff) | |
parent | 2996f402f11565c3ad93aedfe070f4f5f571e72e (diff) | |
download | gitpython-f0c6e1164f390081a27de952552aa83d34035f2a.tar.gz |
Merge pull request #1455 from DWesl/patch-1
Re-enable Cygwin CI and get most tests passing
Diffstat (limited to 'test/test_docs.py')
-rw-r--r-- | test/test_docs.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/test_docs.py b/test/test_docs.py index bea34a0b..20027c19 100644 --- a/test/test_docs.py +++ b/test/test_docs.py @@ -5,6 +5,9 @@ # This module is part of GitPython and is released under # the BSD License: http://www.opensource.org/licenses/bsd-license.php import os +import sys + +import pytest from test.lib import TestBase from test.lib.helper import with_rw_directory @@ -475,6 +478,11 @@ class Tutorials(TestBase): repo.git.clear_cache() + @pytest.mark.xfail( + sys.platform == "cygwin", + reason="Cygwin GitPython can't find SHA for submodule", + raises=ValueError + ) def test_submodules(self): # [1-test_submodules] repo = self.rorepo |