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

Method test_testMasked

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

Source from the content-addressed store, hash-verified

556 assert_(eq(x, y))
557
558 def test_testMasked(self):
559 # Test of masked element
560 xx = arange(6)
561 xx[1] = masked
562 assert_(str(masked) == '--')
563 assert_(xx[1] is masked)
564 assert_equal(filled(xx[1], 0), 0)
565
566 def test_testAverage1(self):
567 # Test of average.

Callers

nothing calls this directly

Calls 4

assert_Function · 0.90
assert_equalFunction · 0.90
filledFunction · 0.90
arangeFunction · 0.85

Tested by

no test coverage detected