Skip to content

Commit 2996f40

Browse files
authored
FIX: Mark the correct test_submodule test as xfail on Cygwin
Got the wrong one the first time.
1 parent c3fd6c1 commit 2996f40

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎test/test_submodule.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -436,15 +436,15 @@ def _do_base_tests(self, rwrepo):
436436
def test_base_rw(self, rwrepo):
437437
self._do_base_tests(rwrepo)
438438

439+
@with_rw_repo(k_subm_current, bare=True)
440+
def test_base_bare(self, rwrepo):
441+
self._do_base_tests(rwrepo)
442+
439443
@pytest.mark.xfail(
440444
sys.platform == "cygwin",
441445
reason="Cygwin GitPython can't find submodule SHA",
442446
raises=ValueError
443447
)
444-
@with_rw_repo(k_subm_current, bare=True)
445-
def test_base_bare(self, rwrepo):
446-
self._do_base_tests(rwrepo)
447-
448448
@skipIf(
449449
HIDE_WINDOWS_KNOWN_ERRORS,
450450
"""

0 commit comments

Comments
 (0)