Black formatting.

This commit is contained in:
Victor Maryama 2019-06-25 10:36:01 +02:00
parent f8c9a7b86d
commit 2280f28596
1 changed files with 5 additions and 1 deletions

View File

@ -130,8 +130,12 @@ def pytest_runtest_setup(item):
util._reprcompare = callbinrepr
if item.ihook.pytest_assertion_pass.get_hookimpls():
def call_assertion_pass_hook(lineno, expl, orig):
item.ihook.pytest_assertion_pass(item=item, lineno=lineno, orig=orig, expl=expl)
item.ihook.pytest_assertion_pass(
item=item, lineno=lineno, orig=orig, expl=expl
)
util._assertion_pass = call_assertion_pass_hook