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

Method test_logical_ufuncs_object_signatures

numpy/core/tests/test_ufunc.py:2375–2378  ·  view source on GitHub ↗
(self, ufunc, signature)

Source from the content-addressed store, hash-verified

2373 [(None, None, object), (object, None, None),
2374 (None, object, None)])
2375 def test_logical_ufuncs_object_signatures(self, ufunc, signature):
2376 a = np.array([True, None, False], dtype=object)
2377 res = ufunc(a, a, signature=signature)
2378 assert res.dtype == object
2379
2380 @pytest.mark.parametrize("ufunc",
2381 [np.logical_and, np.logical_or, np.logical_xor])

Callers

nothing calls this directly

Calls 1

ufuncClass · 0.85

Tested by

no test coverage detected