MCPcopy Index your code
hub / github.com/numpy/numpy / test_numpy_ravel

Method test_numpy_ravel

numpy/matrixlib/tests/test_defmatrix.py:408–410  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

406 assert_equal(self.m.shape, (2, 1))
407
408 def test_numpy_ravel(self):
409 assert_equal(np.ravel(self.a).shape, (2,))
410 assert_equal(np.ravel(self.m).shape, (2,))
411
412 def test_member_ravel(self):
413 assert_equal(self.a.ravel().shape, (2,))

Callers

nothing calls this directly

Calls 2

assert_equalFunction · 0.90
ravelMethod · 0.45

Tested by

no test coverage detected