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

Method test_concatenate_flexible

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

Source from the content-addressed store, hash-verified

269 assert_array_equal(z.mask, [False, True, False, False])
270
271 def test_concatenate_flexible(self):
272 # Tests the concatenation on flexible arrays.
273 data = masked_array(list(zip(np.random.rand(10),
274 np.arange(10))),
275 dtype=[('a', float), ('b', int)])
276
277 test = concatenate([data[:5], data[5:]])
278 assert_equal_records(test, data)
279
280 def test_creation_ndmin(self):
281 # Check the use of ndmin

Callers

nothing calls this directly

Calls 2

concatenateFunction · 0.90
assert_equal_recordsFunction · 0.90

Tested by

no test coverage detected