MCPcopy Index your code
hub / github.com/python/mypy / test_goto

Method test_goto

mypyc/test/test_emitfunc.py:141–142  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

139 self.context = EmitterContext(NameGenerator([["mod"]]), True)
140
141 def test_goto(self) -> None:
142 self.assert_emit(Goto(BasicBlock(2)), "goto CPyL2;")
143
144 def test_goto_next_block(self) -> None:
145 next_block = BasicBlock(2)

Callers

nothing calls this directly

Calls 3

assert_emitMethod · 0.95
GotoClass · 0.90
BasicBlockClass · 0.90

Tested by

no test coverage detected