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

Method test_asarray_default_order

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

Source from the content-addressed store, hash-verified

283 assert_equal(xmm._hardmask, xm._hardmask)
284
285 def test_asarray_default_order(self):
286 # See Issue #6646
287 m = np.eye(3).T
288 assert_(not m.flags.c_contiguous)
289
290 new_m = asarray(m)
291 assert_(new_m.flags.c_contiguous)
292
293 def test_asarray_enforce_order(self):
294 # See Issue #6646

Callers

nothing calls this directly

Calls 2

asarrayFunction · 0.90
assert_Function · 0.50

Tested by

no test coverage detected