Explicitly implement pytest_assertrepr_compare in assertion plu… (#6140)

Explicitly implement pytest_assertrepr_compare in assertion plugin
This commit is contained in:
Bruno Oliveira 2019-11-07 18:45:26 -03:00 committed by GitHub
commit 3b243404e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -163,5 +163,5 @@ def pytest_sessionfinish(session):
assertstate.hook.set_session(None)
# Expose this plugin's implementation for the pytest_assertrepr_compare hook
pytest_assertrepr_compare = util.assertrepr_compare
def pytest_assertrepr_compare(config, op, left, right):
return util.assertrepr_compare(config=config, op=op, left=left, right=right)