Black formatting

This commit is contained in:
Victor Maryama 2019-06-25 10:41:11 +02:00
parent 2280f28596
commit 81e3f3cf95
1 changed files with 3 additions and 3 deletions

View File

@ -1339,9 +1339,9 @@ class TestAssertionPass:
def raise_on_assertionpass(*_, **__): def raise_on_assertionpass(*_, **__):
raise Exception("Assertion passed called when it shouldn't!") raise Exception("Assertion passed called when it shouldn't!")
monkeypatch.setattr(_pytest.assertion.rewrite, monkeypatch.setattr(
"_call_assertion_pass", _pytest.assertion.rewrite, "_call_assertion_pass", raise_on_assertionpass
raise_on_assertionpass) )
testdir.makepyfile( testdir.makepyfile(
""" """