(self)
| 287 | self.assert_emit(Call(decl, [self.m], 55), "cpy_r_r0 = CPyDef_myfn(cpy_r_m);") |
| 288 | |
| 289 | def test_call_two_args(self) -> None: |
| 290 | decl = FuncDecl( |
| 291 | "myfn", |
| 292 | None, |
| 293 | "mod", |
| 294 | FuncSignature( |
| 295 | [RuntimeArg("m", int_rprimitive), RuntimeArg("n", int_rprimitive)], int_rprimitive |
| 296 | ), |
| 297 | ) |
| 298 | self.assert_emit( |
| 299 | Call(decl, [self.m, self.k], 55), "cpy_r_r0 = CPyDef_myfn(cpy_r_m, cpy_r_k);" |
| 300 | ) |
| 301 | |
| 302 | def test_inc_ref(self) -> None: |
| 303 | self.assert_emit(IncRef(self.o), "CPy_INCREF(cpy_r_o);") |
nothing calls this directly
no test coverage detected