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

Commit7f3689d

Browse files
authored
TST: Mark test_submodule.TestSubmodule.test_root_module as xfail on Cygwin
1 parent0eda0a5 commit7f3689d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

‎test/test_submodule.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,11 @@
33
# the BSD License: http://www.opensource.org/licenses/bsd-license.php
44
importos
55
importshutil
6+
importsys
67
fromunittestimportskipIf
78

9+
importpytest
10+
811
importgit
912
fromgit.cmdimportGit
1013
fromgit.compatimportis_win
@@ -433,6 +436,11 @@ def _do_base_tests(self, rwrepo):
433436
deftest_base_rw(self,rwrepo):
434437
self._do_base_tests(rwrepo)
435438

439+
@pytest.mark.xfail(
440+
sys.platform=="cygwin",
441+
reason="Cygwin GitPython can't find submodule SHA",
442+
raises=ValueError
443+
)
436444
@with_rw_repo(k_subm_current,bare=True)
437445
deftest_base_bare(self,rwrepo):
438446
self._do_base_tests(rwrepo)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp