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

Method test_mem_masked_where

numpy/ma/tests/test_regression.py:18–24  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

16 np.ma.array(1, mask=[1])
17
18 def test_mem_masked_where(self):
19 # Ticket #62
20 from numpy.ma import masked_where, MaskType
21 a = np.zeros((1, 1))
22 b = np.zeros(a.shape, MaskType)
23 c = masked_where(b, a)
24 a-c
25
26 def test_masked_array_multiply(self):
27 # Ticket #254

Callers

nothing calls this directly

Calls 1

masked_whereFunction · 0.90

Tested by

no test coverage detected