From 55100dce26622a48c28de525c6361fa4946426bc Mon Sep 17 00:00:00 2001 From: Takeshi KOMIYA Date: Mon, 7 Jan 2019 22:05:46 +0900 Subject: [PATCH] refactor: tests/conftest.py --- tests/conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/conftest.py b/tests/conftest.py index fc16043b6..6342e7e8e 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__)).abspath() / 'roots' + return path(__file__).parent.abspath() / 'roots' def pytest_report_header(config):