Black formatting
This commit is contained in:
parent
2280f28596
commit
81e3f3cf95
|
@ -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(
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue