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

Method test_ravel_with_order

numpy/core/tests/test_regression.py:61–64  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

59 assert_(a is np.asarray(a, order='F'))
60
61 def test_ravel_with_order(self):
62 # Check that ravel works when order='F' and array C/F-contiguous
63 a = np.ones(2)
64 assert_(not a.ravel('F').flags.owndata)
65
66 def test_sort_bigendian(self):
67 # Ticket #47

Callers

nothing calls this directly

Calls 2

assert_Function · 0.90
ravelMethod · 0.45

Tested by

no test coverage detected