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

Method _create_arrays

numpy/lib/tests/test_recfunctions.py:632–639  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

630class TestStackArrays:
631 # Test stack_arrays
632 def _create_arrays(self):
633 x = np.array([1, 2, ])
634 y = np.array([10, 20, 30])
635 z = np.array(
636 [('A', 1.), ('B', 2.)], dtype=[('A', '|S3'), ('B', float)])
637 w = np.array([(1, (2, 3.0)), (4, (5, 6.0))],
638 dtype=[('a', int), ('b', [('ba', float), ('bb', int)])])
639 return w, x, y, z
640
641 def test_solo(self):
642 # Test stack_arrays on single arrays

Callers 5

test_soloMethod · 0.95
test_unnamed_fieldsMethod · 0.95
test_defaultsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected