From 54bae76a88acfc4ddb60f32938ccc8febd0c5a7d Mon Sep 17 00:00:00 2001 From: DWesl <22566757+DWesl@users.noreply.github.com> Date: Mon, 20 Jun 2022 20:39:09 -0400 Subject: TST: Mark test_docs.Tutorials.test_submodules as xfail on Cygwin --- test/test_docs.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'test') 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 -- cgit v1.2.1