class documentation
class TestRegression: (source)
Undocumented
@pytest.mark.skipif( (np.ones(1).strides[0] == np.iinfo(np.intp).max), reason='Using relaxed stride debug')
def test_copy_detection_corner_case2(self): (source) ¶
def test_copy_detection_corner_case2(self): (source) ¶
Undocumented
@pytest.mark.skipif( (sys.maxsize < 2 ** 31 + 1), reason='overflows 32-bit python')
@requires_memory( free_bytes=9000000000.0)
def test_dot_big_stride(self): (source) ¶
@requires_memory(
def test_dot_big_stride(self): (source) ¶
Undocumented
@pytest.mark.skipif( IS_PYPY and (sys.implementation.version <= (7, 3, 8)), reason='PyPy bug in error formatting')
def test_invalid_structured_dtypes(self): (source) ¶
def test_invalid_structured_dtypes(self): (source) ¶
Undocumented
@pytest.mark.skipif( not HAS_REFCOUNT, reason='Python lacks refcounts')
def test_leak_in_structured_dtype_comparison(self): (source) ¶
def test_leak_in_structured_dtype_comparison(self): (source) ¶
Undocumented
@pytest.mark.xfail( IS_WASM, reason='not sure why')
@pytest.mark.parametrize( 'index', [ np.ones( 10, dtype=bool), np.arange( 10)], ids=[ 'boolean-arr-index', 'integer-arr-index'])
def test_nonarray_assignment(self, index): (source) ¶
@pytest.mark.parametrize(
def test_nonarray_assignment(self, index): (source) ¶
Undocumented
@pytest.mark.skipif( IS_PYSTON, reason='Pyston disables recursion checking')
def test_object_array_circular_reference(self): (source) ¶
def test_object_array_circular_reference(self): (source) ¶
Undocumented
@pytest.mark.skipif( IS_PYSTON, reason='Pyston disables recursion checking')
def test_object_array_self_reference(self): (source) ¶
def test_object_array_self_reference(self): (source) ¶
Undocumented
@pytest.mark.parametrize( 'val', [ np.ones( ( 10, 10), dtype='int32'), np.uint64( 10)])
@pytest.mark.parametrize( 'protocol', range( 2, pickle.HIGHEST_PROTOCOL+1))
def test_pickle_module(self, protocol, val): (source) ¶
@pytest.mark.parametrize(
def test_pickle_module(self, protocol, val): (source) ¶
Undocumented
@pytest.mark.skipif( (np.ones(1).strides[0] == np.iinfo(np.intp).max), reason='Using relaxed stride debug')
def test_reshape_trailing_ones_strides(self): (source) ¶
def test_reshape_trailing_ones_strides(self): (source) ¶
Undocumented
@pytest.mark.skipif( not HAS_REFCOUNT, reason='Python lacks refcounts')
def test_structured_arrays_with_objects2(self): (source) ¶
def test_structured_arrays_with_objects2(self): (source) ¶
Undocumented
@pytest.mark.skipif( not HAS_REFCOUNT, reason='Python lacks refcounts')
def test_take_refcount(self): (source) ¶
def test_take_refcount(self): (source) ¶
Undocumented
@pytest.mark.skipif( (sys.maxsize < 2 ** 31 + 1), reason='overflows 32-bit python')
def test_to_ctypes(self): (source) ¶
def test_to_ctypes(self): (source) ¶
Undocumented
@pytest.mark.parametrize( 'operation', [ 'add', 'subtract', 'multiply', 'floor_divide', 'conjugate', 'fmod', 'square', 'reciprocal', 'power', 'absolute', 'negative', 'positive', 'greater', 'greater_equal', 'less', 'less_equal', 'equal', 'not_equal', 'logical_and', 'logical_not', 'logical_or', 'bitwise_and', 'bitwise_or', 'bitwise_xor', 'invert', 'left_shift', 'right_shift', 'gcd', 'lcm'])
@pytest.mark.parametrize( 'order', [ ( 'b->', 'B->'), ( 'h->', 'H->'), ( 'i->', 'I->'), ( 'l->', 'L->'), ( 'q->', 'Q->')])
def test_ufunc_order(self, operation, order): (source) ¶
@pytest.mark.parametrize(
def test_ufunc_order(self, operation, order): (source) ¶
Undocumented