Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/numpy/numpy
/ _test_equal
Method
_test_equal
numpy/testing/tests/test_utils.py:21–22 ·
view source on GitHub ↗
(self, a, b)
Source
from the content-addressed store, hash-verified
19
class
_GenericTest:
20
21
def
_test_equal(self, a, b):
22
self._assert_func(a, b)
23
24
def
_test_not_equal(self, a, b):
25
with
assert_raises(AssertionError):
Callers
14
test_array_rank1_eq
Method · 0.95
test_array_rank2_eq
Method · 0.95
test_objarray
Method · 0.95
test_array_likes
Method · 0.95
foo
Method · 0.80
test_nan_array
Method · 0.80
test_string_arrays
Method · 0.80
test_recarrays
Method · 0.80
test_masked_nan_inf
Method · 0.80
test_subclass_that_overrides_eq
Method · 0.80
test_subclass_that_does_not_implement_npall
Method · 0.80
test_array_vs_scalar_is_equal
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected