Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit54bae76

Browse files
authored
TST: Mark test_docs.Tutorials.test_submodules as xfail on Cygwin
1 parentaafb92a commit54bae76

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

‎test/test_docs.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
# This module is part of GitPython and is released under
66
# the BSD License: http://www.opensource.org/licenses/bsd-license.php
77
importos
8+
importsys
89

910
fromtest.libimportTestBase
1011
fromtest.lib.helperimportwith_rw_directory
@@ -475,6 +476,11 @@ def test_references_and_objects(self, rw_dir):
475476

476477
repo.git.clear_cache()
477478

479+
@pytest.mark.xfail(
480+
sys.platform=="cygwin",
481+
reason="Cygwin GitPython can't find SHA for submodule",
482+
raises=ValueError
483+
)
478484
deftest_submodules(self):
479485
# [1-test_submodules]
480486
repo=self.rorepo

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp