class documentation

class TestNdpointerCFunc:

View In Hierarchy

Undocumented

Method test​_arguments Test that arguments are coerced from arrays
Method test​_return Test that return values are coerced to arrays
Method test​_vague​_return​_value Test that vague ndpointer return values do not promote to arrays
def test_arguments(self):
Test that arguments are coerced from arrays
@pytest.mark.parametrize('dt', [float, np.dtype(dict(formats=['<i4', '<i4'], names=['a', 'b'], offsets=[0, 2], itemsize=6))], ids=['float', 'overlapping-fields'])
def test_return(self, dt):
Test that return values are coerced to arrays
def test_vague_return_value(self):
Test that vague ndpointer return values do not promote to arrays