def test_ravel(): arr = ones((10, 5), chunk_size=2) flat_arr = ravel(arr) assert flat_arr.shape == (50, )
def testRavel(self): arr = ones((10, 5), chunk_size=2) flat_arr = ravel(arr) self.assertEqual(flat_arr.shape, (50, ))