Skip to content

Commit 01f89f4

Browse files
committed
Skip NotImplementedError test for PathPlus on 3.12
1 parent 19bd22c commit 01f89f4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/test_paths.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,7 @@ def test_make_executable():
350350
assert os.access(tempfile, os.X_OK)
351351

352352

353+
@pytest.mark.skipif(sys.version_info[:2] > (3, 11), reason="No longer valid on Python 3.12+")
353354
def test_instantiate_wrong_platform():
354355
if os.name == "nt":
355356
with pytest.raises(NotImplementedError, match="cannot instantiate .* on your system"):

0 commit comments

Comments
 (0)