module documentation
Undocumented
Function | test |
Undocumented |
Function | test |
Undocumented |
Function | test |
Indexing operations convert array keys before indexing the internal array |
Function | test |
Undocumented |
Function | test |
Undocumented |
Function | test |
Undocumented |
Function | test |
Undocumented |
Function | test |
Undocumented |
Function | test |
Undocumented |
Function | test |
Undocumented |
Function | test |
Undocumented |
Function | test |
Undocumented |
Function | test |
Undocumented |
Indexing operations convert array keys before indexing the internal array
Fails when array_api array keys are not converted into NumPy-proper arrays in __getitem__(). This is achieved by passing array_api arrays with 0-sized dimensions, which NumPy-proper treats erroneously - not sure why!
TODO: Find and use appropriate __setitem__() case.
@pytest.mark.parametrize( 'shape', [ (), ( 5), ( 3, 3, 3)])
@pytest.mark.parametrize( 'index', [ 'string', False, True])
def test_error_on_invalid_index(shape, index): (source) ¶
@pytest.mark.parametrize(
def test_error_on_invalid_index(shape, index): (source) ¶
Undocumented