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
Taking into account #12172
  • Loading branch information
Pierre-Sassoulas committed May 27, 2024
1 parent 4931858 commit 398df71
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 398df71

Please sign in to comment.