Use compat fspath instead of os.fspath
When 7ba35c4 was cherry-picked it introduced the
usage of os.fspath which is not supported on
Python <3.6
This commit is contained in:
parent
c04b0de558
commit
3ace642ef3
4 changed files with 9 additions and 3 deletions
|
|
@ -1425,7 +1425,6 @@ def test_static_url_empty_path_default(app):
|
|||
rv.close()
|
||||
|
||||
|
||||
@pytest.mark.skipif(sys.version_info < (3, 6), reason="requires Python >= 3.6")
|
||||
def test_static_folder_with_pathlib_path(app):
|
||||
from pathlib import Path
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue