()
| 70 | |
| 71 | |
| 72 | def test_string_fallbacks(): |
| 73 | # We can (currently?) use numpy strings to test the "slow" fallbacks |
| 74 | # that should normally not be taken due to string interning. |
| 75 | arg2 = np.str_("arg2") |
| 76 | missing_arg = np.str_("missing_arg") |
| 77 | func(1, **{arg2: 3}) |
| 78 | with pytest.raises(TypeError, |
| 79 | match="got an unexpected keyword argument 'missing_arg'"): |
| 80 | func(2, **{missing_arg: 3}) |
| 81 | |
| 82 | |
| 83 | def test_too_many_arguments_method_forwarding(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…