Skip to content

Commit 8fd56e7

Browse files
committed
Update test_root_module Windows skip reason
The current cause of failure is different from what is documented in the skip reason.
1 parent f38cc00 commit 8fd56e7

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Diff for: test/test_submodule.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -477,11 +477,11 @@ def test_base_bare(self, rwrepo):
477477
@skipIf(
478478
HIDE_WINDOWS_KNOWN_ERRORS,
479479
"""
480-
File "C:\\projects\\gitpython\\git\\cmd.py", line 559, in execute
481-
raise GitCommandNotFound(command, err)
482-
git.exc.GitCommandNotFound: Cmd('git') not found due to: OSError('[WinError 6] The handle is invalid')
483-
cmdline: git clone -n --shared -v C:\\projects\\gitpython\\.git Users\\appveyor\\AppData\\Local\\Temp\\1\\tmplyp6kr_rnon_bare_test_root_module
484-
""", # noqa E501
480+
E PermissionError:
481+
[WinError 32] The process cannot access the file because it is being used by another process:
482+
'C:\\Users\\ek\\AppData\\Local\\Temp\\non_bare_test_root_modulep0eqt8_r\\git\\ext\\gitdb'
483+
-> 'C:\\Users\\ek\\AppData\\Local\\Temp\\non_bare_test_root_modulep0eqt8_r\\path\\prefix\\git\\ext\\gitdb'
484+
""",
485485
)
486486
@with_rw_repo(k_subm_current, bare=False)
487487
def test_root_module(self, rwrepo):

0 commit comments

Comments
 (0)