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

Method test_assign_multi

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

Source from the content-addressed store, hash-verified

790 )
791
792 def test_assign_multi(self) -> None:
793 t = RArray(object_rprimitive, 2)
794 a = Register(t, "a")
795 self.registers.append(a)
796 self.assert_emit(
797 AssignMulti(a, [self.o, self.o2]), """PyObject *cpy_r_a[2] = {cpy_r_o, cpy_r_o2};"""
798 )
799
800 def test_long_unsigned(self) -> None:
801 a = Register(int64_rprimitive, "a")

Callers

nothing calls this directly

Calls 5

assert_emitMethod · 0.95
RArrayClass · 0.90
RegisterClass · 0.90
AssignMultiClass · 0.90
appendMethod · 0.80

Tested by

no test coverage detected