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

Method test_set_mem

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

Source from the content-addressed store, hash-verified

751 self.assert_emit(LoadMem(bool_rprimitive, self.ptr), """cpy_r_r0 = *(char *)cpy_r_ptr;""")
752
753 def test_set_mem(self) -> None:
754 self.assert_emit(
755 SetMem(bool_rprimitive, self.ptr, self.b), """*(char *)cpy_r_ptr = cpy_r_b;"""
756 )
757
758 def test_get_element_ptr(self) -> None:
759 r = RStruct(

Callers

nothing calls this directly

Calls 2

assert_emitMethod · 0.95
SetMemClass · 0.90

Tested by

no test coverage detected