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

Method _test_not_equal

numpy/testing/tests/test_utils.py:24–26  ·  view source on GitHub ↗
(self, a, b)

Source from the content-addressed store, hash-verified

22 self._assert_func(a, b)
23
24 def _test_not_equal(self, a, b):
25 with assert_raises(AssertionError):
26 self._assert_func(a, b)
27
28 def test_array_rank1_eq(self):
29 """Test two equal array of rank 1 are found equal."""

Callers 15

test_array_diffshapeMethod · 0.95
fooMethod · 0.80
test_nan_arrayMethod · 0.80
test_string_arraysMethod · 0.80
test_recarraysMethod · 0.80
test_nan_itemsMethod · 0.80
test_inf_itemsMethod · 0.80
test_datetimeMethod · 0.80

Calls 1

assert_raisesFunction · 0.90

Tested by

no test coverage detected