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

Function test_operator_object_left

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

Source from the content-addressed store, hash-verified

879 sampled_from(reasonable_operators_for_scalars),
880 sampled_from(types))
881def test_operator_object_left(o, op, type_):
882 try:
883 with recursionlimit(200):
884 op(o, type_(1))
885 except TypeError:
886 pass
887
888
889@given(sampled_from(objecty_things),

Callers

nothing calls this directly

Calls 1

recursionlimitFunction · 0.85

Tested by

no test coverage detected