MCPcopy
hub / github.com/numpy/numpy / test_asarray_default_order

Method test_asarray_default_order

numpy/ma/tests/test_core.py:380–386  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

378 assert_equal(xmm._hardmask, xm._hardmask)
379
380 def test_asarray_default_order(self):
381 # See Issue #6646
382 m = np.eye(3).T
383 assert_(not m.flags.c_contiguous)
384
385 new_m = asarray(m)
386 assert_(new_m.flags.c_contiguous)
387
388 def test_asarray_enforce_order(self):
389 # See Issue #6646

Callers

nothing calls this directly

Calls 2

asarrayFunction · 0.90
assert_Function · 0.85

Tested by

no test coverage detected