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