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

Method test_unknown_keyword_parameter

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

Source from the content-addressed store, hash-verified

364 array(x) # used to fail due to 'V' padding field in x.dtype.descr
365
366 def test_unknown_keyword_parameter(self):
367 with pytest.raises(TypeError, match="unexpected keyword argument"):
368 MaskedArray([1, 2, 3], maks=[0, 1, 0]) # `mask` is misspelled.
369
370 def test_asarray(self):
371 xm = self._create_data()[5]

Callers

nothing calls this directly

Calls 1

MaskedArrayClass · 0.90

Tested by

no test coverage detected