diff --git a/tests/conftest.py b/tests/conftest.py index 65142d84a..68a25b119 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -24,7 +24,7 @@ collect_ignore = ['roots'] @pytest.fixture(scope='session') def rootdir(): - return path(os.path.dirname(__file__) or '.').abspath() / 'roots' + return path(os.path.dirname(__file__)).abspath() / 'roots' def pytest_report_header(config):