Merge pull request #5625 from jdufresne/unused

Remove dead code `or '.'`
This commit is contained in:
Takeshi KOMIYA 2018-11-13 21:49:45 +09:00 committed by GitHub
commit 2f5b79b943
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,7 +24,7 @@ collect_ignore = ['roots']
@pytest.fixture(scope='session') @pytest.fixture(scope='session')
def rootdir(): def rootdir():
return path(os.path.dirname(__file__) or '.').abspath() / 'roots' return path(os.path.dirname(__file__)).abspath() / 'roots'
def pytest_report_header(config): def pytest_report_header(config):