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

Method test_default_fill_value_void

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

Source from the content-addressed store, hash-verified

2209 assert_equal(f2, expected)
2210
2211 def test_default_fill_value_void(self):
2212 dt = np.dtype([('v', 'V7')])
2213 f = default_fill_value(dt)
2214 assert_equal(f['v'], np.array(default_fill_value(dt['v']), dt['v']))
2215
2216 def test_fillvalue(self):
2217 # Yet more fun with the fill_value

Callers

nothing calls this directly

Calls 3

default_fill_valueFunction · 0.90
assert_equalFunction · 0.90
dtypeMethod · 0.45

Tested by

no test coverage detected