MCPcopy Create free account
hub / github.com/pytest-dev/pytest / my_reprcompare2

Method my_reprcompare2

testing/test_assertrewrite.py:680–681  ·  view source on GitHub ↗
(op, left, right)

Source from the content-addressed store, hash-verified

678 assert getmsg(f1) == "assert 42"
679
680 def my_reprcompare2(op, left, right) -> str:
681 return f"{left} {op} {right}"
682
683 monkeypatch.setattr(util, "_reprcompare", my_reprcompare2)
684

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected