MCPcopy Create free account
hub / github.com/python/mypy / assert_output

Method assert_output

mypyc/test/test_emit.py:162–164  ·  view source on GitHub ↗
(self, expected: str)

Source from the content-addressed store, hash-verified

160 self.assert_output("CPy_DECREF(o);\n")
161
162 def assert_output(self, expected: str) -> None:
163 assert "".join(self.emitter.fragments) == expected
164 self.emitter.fragments = []

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected