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

Method test_dict_set_item

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

Source from the content-addressed store, hash-verified

617 )
618
619 def test_dict_set_item(self) -> None:
620 self.assert_emit(
621 CallC(
622 str(dict_set_item_op.c_function_name),
623 [self.d, self.o, self.o2],
624 dict_set_item_op.return_type,
625 dict_set_item_op.steals,
626 dict_set_item_op.is_borrowed,
627 dict_set_item_op.error_kind,
628 1,
629 ),
630 """cpy_r_r0 = CPyDict_SetItem(cpy_r_d, cpy_r_o, cpy_r_o2);""",
631 )
632
633 def test_dict_update(self) -> None:
634 self.assert_emit(

Callers

nothing calls this directly

Calls 3

assert_emitMethod · 0.95
CallCClass · 0.90
strClass · 0.85

Tested by

no test coverage detected