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

Method test_testMasked

numpy/ma/tests/test_old_ma.py:620–626  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

618 assert_(eq(x, y))
619
620 def test_testMasked(self):
621 # Test of masked element
622 xx = arange(6)
623 xx[1] = masked
624 assert_(str(masked) == '--')
625 assert_(xx[1] is masked)
626 assert_equal(filled(xx[1], 0), 0)
627
628 def test_testAverage1(self):
629 # Test of average.

Callers

nothing calls this directly

Calls 3

assert_Function · 0.90
assert_equalFunction · 0.90
filledFunction · 0.90

Tested by

no test coverage detected