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

Class foo

numpy/core/tests/test_ufunc.py:123–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

121
122 # class to use in testing object method loops
123 class foo:
124 def conjugate(self):
125 return np.bool_(1)
126
127 def logical_xor(self, obj):
128 return np.bool_(1)
129
130 def test_unary_PyUFunc_O_O(self):
131 x = np.ones(10, dtype=object)

Calls

no outgoing calls