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

Route test_invalid_arguments

numpy/core/tests/test_arraymethod.py:None–None  ·  view source on GitHub ↗
pytest.mark.parametrize("args", [
        (True,),  # Not a tuple.
        ((None,)),  # Too few elements
        ((None, None, None),),  # Too many
        ((None, None),),  # Input dtype is None, wh

Source from the content-addressed store, hash-verified

1"""
2This file tests the generic aspects of ArrayMethod. At the time of writing
3this is private API, but when added, public API may be added here.
4"""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected