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

Method test_solo

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

Source from the content-addressed store, hash-verified

633 self.data = (w, x, y, z)
634
635 def test_solo(self):
636 # Test stack_arrays on single arrays
637 (_, x, _, _) = self.data
638 test = stack_arrays((x,))
639 assert_equal(test, x)
640 assert_(test is x)
641
642 test = stack_arrays(x)
643 assert_equal(test, x)
644 assert_(test is x)
645
646 def test_unnamed_fields(self):
647 # Tests combinations of arrays w/o named fields

Callers

nothing calls this directly

Calls 3

stack_arraysFunction · 0.90
assert_equalFunction · 0.90
assert_Function · 0.90

Tested by

no test coverage detected