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

Method test_add

numpy/core/tests/test_defchararray.py:591–595  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

589 ['051', 'tuv']]).view(np.chararray)
590
591 def test_add(self):
592 AB = np.array([['abcefg', '123456'],
593 ['789051', 'xyztuv']]).view(np.chararray)
594 assert_array_equal(AB, (self.A + self.B))
595 assert_(len((self.A + self.B)[0][0]) == 6)
596
597 def test_radd(self):
598 QA = np.array([['qabc', 'q123'],

Callers 1

test_ufunc_custom_outMethod · 0.45

Calls 3

assert_array_equalFunction · 0.90
assert_Function · 0.90
viewMethod · 0.45

Tested by

no test coverage detected