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

Method test_member_flatten

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

Source from the content-addressed store, hash-verified

414 assert_equal(self.m.ravel().shape, (1, 2))
415
416 def test_member_flatten(self):
417 assert_equal(self.a.flatten().shape, (2,))
418 assert_equal(self.m.flatten().shape, (1, 2))
419
420 def test_numpy_ravel_order(self):
421 x = np.array([[1, 2, 3], [4, 5, 6]])

Callers

nothing calls this directly

Calls 2

assert_equalFunction · 0.90
flattenMethod · 0.80

Tested by

no test coverage detected