Skip to content

Commit

Permalink
Put back the original test intent into place using 3.10 instead of 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre-Sassoulas committed May 29, 2024
1 parent 0cd77df commit 5f1f3aa
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion testing/_py/test_local.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,10 @@ def test_visit_norecurse(self, path1):
assert "sampledir" in lst
assert path1.sep.join(["sampledir", "otherfile"]) not in lst

@pytest.mark.parametrize("fil", ["*dir", "*dir", b"*dir"])
@pytest.mark.parametrize(
"fil",
["*dir", "*dir", pytest.mark.skipif("sys.version_info < (3,10)")(b"*dir")],
)
def test_visit_filterfunc_is_string(self, path1, fil):
lst = []
for i in path1.visit(fil):
Expand Down

0 comments on commit 5f1f3aa

Please sign in to comment.