| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent f72e282 commit 42a3d74
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -949,6 +949,17 @@ def test_remove_norefs(self, rwdir): | |||
| 949 | 949 | sm.remove() | |
| 950 | 950 | assert not sm.exists() | |
| 951 | 951 | ||
| 952 | + @pytest.mark.xfail( | ||
| 953 | + os.name == "nt", | ||
| 954 | + reason=( | ||
| 955 | + "The sm.move call fails. Submodule.move calls os.renames, which raises:\n" | ||
| 956 | + "PermissionError: [WinError 32] " | ||
| 957 | + "The process cannot access the file because it is being used by another process: " | ||
| 958 | + R"'C:\Users\ek\AppData\Local\Temp\test_renamekkbznwjp\parent\mymodules\myname' " | ||
| 959 | + R"-> 'C:\Users\ek\AppData\Local\Temp\test_renamekkbznwjp\parent\renamed\myname'" | ||
| 960 | + ), | ||
| 961 | + raises=PermissionError, | ||
| 962 | + ) | ||
| 952 | 963 | @with_rw_directory | |
| 953 | 964 | def test_rename(self, rwdir): | |
| 954 | 965 | parent = git.Repo.init(osp.join(rwdir, "parent")) | |
| Back | FazBrowse Home | New Git URL |
0 commit comments