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

Method test_solo

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

Source from the content-addressed store, hash-verified

639 return w, x, y, z
640
641 def test_solo(self):
642 # Test stack_arrays on single arrays
643 x = self._create_arrays()[1]
644 test = stack_arrays((x,))
645 assert_equal(test, x)
646 assert_(test is x)
647
648 test = stack_arrays(x)
649 assert_equal(test, x)
650 assert_(test is x)
651
652 def test_unnamed_fields(self):
653 # Tests combinations of arrays w/o named fields

Callers

nothing calls this directly

Calls 4

_create_arraysMethod · 0.95
stack_arraysFunction · 0.90
assert_equalFunction · 0.90
assert_Function · 0.90

Tested by

no test coverage detected