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

Method test_tuple_get

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

Source from the content-addressed store, hash-verified

153 self.assert_emit(Assign(self.i32, Integer(5, c_int_rprimitive)), "cpy_r_i32 = 5;")
154
155 def test_tuple_get(self) -> None:
156 self.assert_emit(TupleGet(self.t, 1, 0), "cpy_r_r0 = cpy_r_t.f1;")
157
158 def test_load_None(self) -> None: # noqa: N802
159 self.assert_emit(

Callers

nothing calls this directly

Calls 2

assert_emitMethod · 0.95
TupleGetClass · 0.90

Tested by

no test coverage detected