MCPcopy
hub / github.com/pytest-dev/pytest / f4

Method f4

testing/test_assertrewrite.py:411–412  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

409 assert getmsg(f3, {"a_global": False}) == "assert False"
410
411 def f4() -> None:
412 assert sys == 42 # type: ignore[comparison-overlap]
413
414 msg = getmsg(f4, {"sys": sys})
415 assert msg == "assert sys == 42"

Callers

nothing calls this directly

Calls 1

gFunction · 0.50

Tested by

no test coverage detected