summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLembrun <amadeusk7@free.fr>2021-03-16 16:37:28 +0100
committerLembrun <amadeusk7@free.fr>2021-03-16 16:37:28 +0100
commit5faf293856fdbe606b945830e00a594a308603f4 (patch)
tree54c64d41e19b7ccd1e3c7ad4c986bf5b2d77e56d
parent4188598952c3d8c11d27e3d70df3b3ebb2a65aa9 (diff)
downloadqutebrowser-5faf293856fdbe606b945830e00a594a308603f4.tar.gz
qutebrowser-5faf293856fdbe606b945830e00a594a308603f4.zip
added str
-rw-r--r--tests/conftest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/conftest.py b/tests/conftest.py
index 0ed749e04..0047f7c3d 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -184,7 +184,7 @@ def pytest_collection_modifyitems(config, items):
def pytest_ignore_collect(path):
"""Ignore BDD tests if we're unable to run them."""
skip_bdd = hasattr(sys, 'frozen')
- rel_path = path.relto(pathlib.Path(__file__).parent)
+ rel_path = path.relto(str(pathlib.Path(__file__).parent))
return rel_path == pathlib.Path('end2end') / 'end2end' and skip_bdd