Skip to content

Commit

Permalink
Remove all mark.skip for python < 3.8
Browse files Browse the repository at this point in the history
Co-authored-by: Bruno Oliveira <bruno@soliv.dev>
  • Loading branch information
Pierre-Sassoulas and nicoddemus committed Apr 23, 2024
1 parent a21b977 commit 5f1012c
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions testing/_py/test_local.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,10 +205,7 @@ 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", pytest.mark.skip("sys.version_info < (3,6)")(b"*dir")],
)
@pytest.mark.parametrize("fil", ["*dir", "*dir", b"*dir"])
def test_visit_filterfunc_is_string(self, path1, fil):
lst = []
for i in path1.visit(fil):
Expand Down Expand Up @@ -461,12 +458,10 @@ def test_fspath_func_match_strpath(self, path1):

assert fspath(path1) == path1.strpath

@pytest.mark.skip("sys.version_info < (3,6)")
def test_fspath_open(self, path1):
f = path1.join("opentestfile")
open(f)

@pytest.mark.skip("sys.version_info < (3,6)")
def test_fspath_fsencode(self, path1):
from os import fsencode

Expand Down

0 comments on commit 5f1012c

Please sign in to comment.