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

Method test_fmt_simple

testing/test_assertion.py:1062–1064  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1060 result.stdout.fnmatch_lines(["*AssertionError*"])
1061
1062 def test_fmt_simple(self) -> None:
1063 expl = "assert foo"
1064 assert util.format_explanation(expl) == "assert foo"
1065
1066 def test_fmt_where(self) -> None:
1067 expl = "\n".join(["assert 1", "{1 = foo", "} == 2"])

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected