class documentation

class TestArrayLikes: (source)

View In Hierarchy

Undocumented

Method test_0d_generic_special_case Undocumented
Method test_0d_object_special_case Undocumented
Method test_arraylike_classes Undocumented
Method test_bad_array_like_attributes Undocumented
Method test_bad_array_like_bad_length Undocumented
Method test_too_large_array_error_paths Test the error paths, including for memory leaks
def test_0d_generic_special_case(self): (source)

Undocumented

@pytest.mark.parametrize('arraylike', arraylikes())
def test_0d_object_special_case(self, arraylike): (source)

Undocumented

def test_arraylike_classes(self): (source)

Undocumented

@pytest.mark.parametrize('attribute', ['__array_interface__', '__array__', '__array_struct__'])
@pytest.mark.parametrize('error', [RecursionError, MemoryError])
def test_bad_array_like_attributes(self, attribute, error): (source)

Undocumented

@pytest.mark.parametrize('error', [RecursionError, MemoryError])
def test_bad_array_like_bad_length(self, error): (source)

Undocumented

@pytest.mark.skipif((np.dtype(np.intp).itemsize < 8), reason='Needs 64bit platform')
def test_too_large_array_error_paths(self): (source)

Test the error paths, including for memory leaks