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

Method test_dec_ref_int

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

Source from the content-addressed store, hash-verified

312 self.assert_emit(IncRef(self.m), "CPyTagged_IncRef(cpy_r_m);", rare=True)
313
314 def test_dec_ref_int(self) -> None:
315 self.assert_emit(DecRef(self.m), "CPyTagged_DECREF(cpy_r_m);")
316 self.assert_emit(DecRef(self.m), "CPyTagged_DecRef(cpy_r_m);", rare=True)
317
318 def test_dec_ref_tuple(self) -> None:
319 self.assert_emit(DecRef(self.t), "CPyTagged_DECREF(cpy_r_t.f0);")

Callers

nothing calls this directly

Calls 2

assert_emitMethod · 0.95
DecRefClass · 0.90

Tested by

no test coverage detected