Revert pytest_terminal_summary(tryfirst) in warnings module as this breaks tests

This commit is contained in:
Bruno Oliveira 2018-09-04 14:26:34 -03:00
parent b42518acd5
commit 022c58bf64
1 changed files with 1 additions and 1 deletions

View File

@ -142,7 +142,7 @@ def pytest_collection(session):
yield
@pytest.hookimpl(hookwrapper=True, tryfirst=True)
@pytest.hookimpl(hookwrapper=True)
def pytest_terminal_summary(terminalreporter):
config = terminalreporter.config
with catch_warnings_for_item(config=config, ihook=config.hook, item=None):