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

Method test_mem_masked_where

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

masked_whereFunction · 0.90

Tested by

no test coverage detected