mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Merge pull request #5625 from jdufresne/unused
Remove dead code `or '.'`
This commit is contained in:
commit
2f5b79b943
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user