Skip to content

Commit

Permalink
Skip until 3.13.0b3 instead
Browse files Browse the repository at this point in the history
  • Loading branch information
uranusjr committed Jun 20, 2024
1 parent 596be04 commit 87f874f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 20 deletions.
24 changes: 8 additions & 16 deletions tests/unit/test_collector.py
Original file line number Diff line number Diff line change
Expand Up @@ -383,14 +383,10 @@ 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'"),
pytest.mark.xfail(
reason="Failing in Python 3.13.0a1, fixed in python/cpython#113563",
condition="sys.version_info >= (3, 13)",
strict=True,
),
],
marks=pytest.mark.skipif(
"sys.platform != 'win32' or "
"sys.version_info == (3, 13, 0, 'beta', 2)"
),
),
# URL with Windows drive letter, running on non-windows
# platform. The `:` after the drive should be quoted.
Expand All @@ -403,14 +399,10 @@ def test_clean_url_path_with_local_path(path: str, expected: str) -> None:
pytest.param(
"git+file:///T:/with space/repo.git@1.0#egg=my-package-1.0",
"git+file:///T:/with%20space/repo.git@1.0#egg=my-package-1.0",
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,
),
],
marks=pytest.mark.skipif(
"sys.platform != 'win32' or "
"sys.version_info == (3, 13, 0, 'beta', 2)"
),
),
# Test a VCS URL with a Windows drive letter and revision,
# running on non-windows platform.
Expand Down
7 changes: 3 additions & 4 deletions tests/unit/test_urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,9 @@ def test_path_to_url_unix() -> None:
pytest.param(
r"\\unc\as\path",
"file://unc/as/path",
marks=pytest.mark.xfail(
reason="Failing in Python 3.13.0a1, fixed in python/cpython#113563",
condition="sys.version_info >= (3, 13)",
strict=True,
marks=pytest.mark.skipif(
"sys.platform != 'win32' or "
"sys.version_info == (3, 13, 0, 'beta', 2)"
),
id="unc-path",
),
Expand Down

0 comments on commit 87f874f

Please sign in to comment.