class documentation
class TestDivisionIntegerOverflowsAndDivideByZero: (source)
Undocumented
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Class Variable | helper |
Undocumented |
Class Variable | overflow |
Undocumented |
Class Variable | result |
Undocumented |
@pytest.mark.skipif( IS_WASM, reason='fp errors don\'t work in wasm')
@pytest.mark.parametrize( 'dtype', np.typecodes[ 'AllInteger'])
def test_divide_by_zero(self, dtype): (source) ¶
@pytest.mark.parametrize(
def test_divide_by_zero(self, dtype): (source) ¶
Undocumented
@pytest.mark.skipif( IS_WASM, reason='fp errors don\'t work in wasm')
@pytest.mark.parametrize( 'dividend_dtype', np.sctypes[ 'int'])
@pytest.mark.parametrize( 'divisor_dtype', np.sctypes[ 'int'])
@pytest.mark.parametrize( 'operation', [ np.remainder, np.fmod, np.divmod, np.floor_divide, operator.mod, operator.floordiv])
@np.errstate( divide='warn', over='warn')
def test_overflows(self, dividend_dtype, divisor_dtype, operation): (source) ¶
@pytest.mark.parametrize(
@pytest.mark.parametrize(
@pytest.mark.parametrize(
@np.errstate(
def test_overflows(self, dividend_dtype, divisor_dtype, operation): (source) ¶
Undocumented