(op)
| 282 | ], |
| 283 | ) |
| 284 | def test_proxy_binop_int(op): |
| 285 | _, p = _make_proxy(2) |
| 286 | assert op(p, 3) == op(2, 3) |
| 287 | # r-op |
| 288 | assert op(3, p) == op(3, 2) |
| 289 | |
| 290 | |
| 291 | @pytest.mark.parametrize("op", [operator.neg, operator.pos, abs, operator.invert]) |
nothing calls this directly
no test coverage detected