summaryrefslogtreecommitdiff
path: root/test/test_docs.py
diff options
context:
space:
mode:
authorDWesl <22566757+DWesl@users.noreply.github.com>2022-06-20 20:39:09 -0400
committerGitHub <noreply@github.com>2022-06-20 20:39:09 -0400
commit54bae76a88acfc4ddb60f32938ccc8febd0c5a7d (patch)
treec5658382c6194eb5ec535c88c88983c5776802c2 /test/test_docs.py
parentaafb92ab934dcf58fe432f95c8dfcef8f32a91c7 (diff)
downloadgitpython-54bae76a88acfc4ddb60f32938ccc8febd0c5a7d.tar.gz
TST: Mark test_docs.Tutorials.test_submodules as xfail on Cygwin
Diffstat (limited to 'test/test_docs.py')
-rw-r--r--test/test_docs.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/test_docs.py b/test/test_docs.py
index bea34a0b..75fd2ba5 100644
--- a/test/test_docs.py
+++ b/test/test_docs.py
@@ -5,6 +5,7 @@
# 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
from test.lib import TestBase
from test.lib.helper import with_rw_directory
@@ -475,6 +476,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