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

Method test_objarray

numpy/testing/tests/test_utils.py:56–59  ·  view source on GitHub ↗

Test object arrays.

(self)

Source from the content-addressed store, hash-verified

54 self._test_not_equal(a, b)
55
56 def test_objarray(self):
57 """Test object arrays."""
58 a = np.array([1, 1], dtype=object)
59 self._test_equal(a, 1)
60
61 def test_array_likes(self):
62 self._test_equal([1, 2, 3], (1, 2, 3))

Callers

nothing calls this directly

Calls 1

_test_equalMethod · 0.95

Tested by

no test coverage detected