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

Method test_list_append

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

Source from the content-addressed store, hash-verified

452 )
453
454 def test_list_append(self) -> None:
455 self.assert_emit(
456 CallC(
457 str(list_append_op.c_function_name),
458 [self.l, self.o],
459 list_append_op.return_type,
460 list_append_op.steals,
461 list_append_op.is_borrowed,
462 list_append_op.error_kind,
463 1,
464 ),
465 """cpy_r_r0 = PyList_Append(cpy_r_l, cpy_r_o);""",
466 )
467
468 def test_get_attr(self) -> None:
469 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