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

Method test_emit_inc_ref_object

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

Source from the content-addressed store, hash-verified

80 )
81
82 def test_emit_inc_ref_object(self) -> None:
83 self.emitter.emit_inc_ref("x", object_rprimitive)
84 self.assert_output("CPy_INCREF(x);\n")
85
86 def test_emit_inc_ref_int(self) -> None:
87 self.emitter.emit_inc_ref("x", int_rprimitive)

Callers

nothing calls this directly

Calls 2

assert_outputMethod · 0.95
emit_inc_refMethod · 0.45

Tested by

no test coverage detected