(self)
| 578 | @requires_jit_disabled |
| 579 | @requires_specialization |
| 580 | def test_specialize_call_function_ex_py(self): |
| 581 | def ex_py(*args, **kwargs): |
| 582 | return 1 |
| 583 | |
| 584 | def instantiate(): |
| 585 | args = (1, 2, 3) |
| 586 | kwargs = {} |
| 587 | return ex_py(*args, **kwargs) |
| 588 | |
| 589 | # Trigger specialization |
| 590 | for _ in range(_testinternalcapi.SPECIALIZATION_THRESHOLD): |
| 591 | instantiate() |
| 592 | self.assert_specialized(instantiate, "CALL_EX_PY") |
| 593 | |
| 594 | @requires_jit_disabled |
| 595 | @requires_specialization |
nothing calls this directly
no test coverage detected