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

Method test_default_fill_value

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

Source from the content-addressed store, hash-verified

2386 assert_equal(b['a'].fill_value, a.fill_value)
2387
2388 def test_default_fill_value(self):
2389 # check all calling conventions
2390 f1 = default_fill_value(1.)
2391 f2 = default_fill_value(np.array(1.))
2392 f3 = default_fill_value(np.array(1.).dtype)
2393 assert_equal(f1, f2)
2394 assert_equal(f1, f3)
2395
2396 def test_default_fill_value_structured(self):
2397 fields = array([(1, 1, 1)],

Callers

nothing calls this directly

Calls 2

default_fill_valueFunction · 0.90
assert_equalFunction · 0.90

Tested by

no test coverage detected