mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Merge pull request #6030 from tk0miya/refactor_conftest
refactor: tests/conftest.py
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user