Revert pytest_terminal_summary(tryfirst) in warnings module as this breaks tests
This commit is contained in:
parent
b42518acd5
commit
022c58bf64
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue