MCPcopy
hub / github.com/numpy/numpy / test_default_fill_value_void

Method test_default_fill_value_void

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

Source from the content-addressed store, hash-verified

2406 assert_equal(f2, expected)
2407
2408 def test_default_fill_value_void(self):
2409 dt = np.dtype([('v', 'V7')])
2410 f = default_fill_value(dt)
2411 assert_equal(f['v'], np.array(default_fill_value(dt['v']), dt['v']))
2412
2413 def test_fillvalue(self):
2414 # 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