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