Remove all mark.skip for python < 3.8
Co-authored-by: Bruno Oliveira <bruno@soliv.dev>
This commit is contained in:
parent
0ba3e91fbd
commit
9c9b55b549
|
@ -205,10 +205,7 @@ class CommonFSTests:
|
|||
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):
|
||||
|
@ -461,12 +458,10 @@ class CommonFSTests:
|
|||
|
||||
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
|
||||
|
||||
|
|
Loading…
Reference in New Issue