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

Method test_list_set_item

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

Source from the content-addressed store, hash-verified

336 )
337
338 def test_list_set_item(self) -> None:
339 self.assert_emit(
340 CallC(
341 str(list_set_item_op.c_function_name),
342 [self.l, self.n, self.o],
343 list_set_item_op.return_type,
344 list_set_item_op.steals,
345 list_set_item_op.is_borrowed,
346 list_set_item_op.error_kind,
347 55,
348 ),
349 """cpy_r_r0 = CPyList_SetItem(cpy_r_l, cpy_r_n, cpy_r_o);""",
350 )
351
352 def test_box_int(self) -> None:
353 self.assert_emit(Box(self.n), """cpy_r_r0 = CPyTagged_StealAsObject(cpy_r_n);""")

Callers

nothing calls this directly

Calls 3

assert_emitMethod · 0.95
CallCClass · 0.90
strClass · 0.85

Tested by

no test coverage detected