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

Method test_masked_where_bool

numpy/ma/tests/test_core.py:4273–4277  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

4271 self.info = (xm, ym)
4272
4273 def test_masked_where_bool(self):
4274 x = [1, 2]
4275 y = masked_where(False, x)
4276 assert_equal(y, [1, 2])
4277 assert_equal(y[1], 2)
4278
4279 def test_masked_equal_wlist(self):
4280 x = [1, 2, 3]

Callers

nothing calls this directly

Calls 2

masked_whereFunction · 0.90
assert_equalFunction · 0.90

Tested by

no test coverage detected