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

Method test_dict_update

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

Source from the content-addressed store, hash-verified

631 )
632
633 def test_dict_update(self) -> None:
634 self.assert_emit(
635 CallC(
636 str(dict_update_op.c_function_name),
637 [self.d, self.o],
638 dict_update_op.return_type,
639 dict_update_op.steals,
640 dict_update_op.is_borrowed,
641 dict_update_op.error_kind,
642 1,
643 ),
644 """cpy_r_r0 = CPyDict_Update(cpy_r_d, cpy_r_o);""",
645 )
646
647 def test_new_dict(self) -> None:
648 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