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

Method test_label

mypyc/test/test_emit.py:35–36  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

33 self.instance_a = RInstance(ir)
34
35 def test_label(self) -> None:
36 assert self.emitter.label(BasicBlock(4)) == "CPyL4"
37
38 def test_reg(self) -> None:
39 names: dict[Value, str] = {self.n: "n"}

Callers

nothing calls this directly

Calls 2

BasicBlockClass · 0.90
labelMethod · 0.45

Tested by

no test coverage detected