MCPcopy Create free account
hub / github.com/numpy/numpy / test_operator_object_right

Function test_operator_object_right

numpy/core/tests/test_scalarmath.py:892–897  ·  view source on GitHub ↗
(o, op, type_)

Source from the content-addressed store, hash-verified

890 sampled_from(reasonable_operators_for_scalars),
891 sampled_from(types))
892def test_operator_object_right(o, op, type_):
893 try:
894 with recursionlimit(200):
895 op(type_(1), o)
896 except TypeError:
897 pass
898
899
900@given(sampled_from(reasonable_operators_for_scalars),

Callers

nothing calls this directly

Calls 1

recursionlimitFunction · 0.85

Tested by

no test coverage detected