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

Method test_unknown_keyword_parameter

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

Source from the content-addressed store, hash-verified

269 array(x) # used to fail due to 'V' padding field in x.dtype.descr
270
271 def test_unknown_keyword_parameter(self):
272 with pytest.raises(TypeError, match="unexpected keyword argument"):
273 MaskedArray([1, 2, 3], maks=[0, 1, 0]) # `mask` is misspelled.
274
275 def test_asarray(self):
276 (x, y, a10, m1, m2, xm, ym, z, zm, xf) = self.d

Callers

nothing calls this directly

Calls 1

MaskedArrayClass · 0.90

Tested by

no test coverage detected