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

Method test_box_int

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

Source from the content-addressed store, hash-verified

350 )
351
352 def test_box_int(self) -> None:
353 self.assert_emit(Box(self.n), """cpy_r_r0 = CPyTagged_StealAsObject(cpy_r_n);""")
354
355 def test_unbox_int(self) -> None:
356 self.assert_emit(

Callers

nothing calls this directly

Calls 2

assert_emitMethod · 0.95
BoxClass · 0.90

Tested by

no test coverage detected