-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mark failing tests on Windows + Py3.13 as xfail
This test should start passing when 3.13.0a2 is released, so the xfail set to strict=True will start causing the CI to error at the time. We'll remove the marker.
- Loading branch information
Showing
2 changed files
with
41 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -383,7 +383,14 @@ def test_clean_url_path_with_local_path(path: str, expected: str) -> None: | |
pytest.param( | ||
"file:///T:/path/with spaces/", | ||
"file:///T:/path/with%20spaces", | ||
marks=pytest.mark.skipif("sys.platform != 'win32'"), | ||
marks=[ | ||
pytest.mark.skipif("sys.platform != 'win32'"), | ||
pytest.mark.xfail( | ||
reason="Failing in Python 3.13.0a1, fixed in python/cpython#113563", | ||
condition="sys.version_info >= (3, 13)", | ||
strict=True, | ||
), | ||
], | ||
), | ||
# URL with Windows drive letter, running on non-windows | ||
# platform. The `:` after the drive should be quoted. | ||
|
@@ -396,7 +403,14 @@ def test_clean_url_path_with_local_path(path: str, expected: str) -> None: | |
pytest.param( | ||
"git+file:///T:/with space/[email protected]#egg=my-package-1.0", | ||
"git+file:///T:/with%20space/[email protected]#egg=my-package-1.0", | ||
marks=pytest.mark.skipif("sys.platform != 'win32'"), | ||
marks=[ | ||
pytest.mark.skipif("sys.platform != 'win32'"), | ||
pytest.mark.xfail( | ||
reason="Failing in Python 3.13.0a1, fixed in python/cpython#113563", | ||
condition="sys.version_info >= (3, 13)", | ||
strict=True, | ||
), | ||
], | ||
), | ||
# Test a VCS URL with a Windows drive letter and revision, | ||
# running on non-windows platform. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters