module documentation
Undocumented
Class |
|
Undocumented |
Function | test |
Check inf/nan formatting of complex types. |
Function | test |
Check formatting when using print |
Function | test |
Check formatting of complex types. |
Function | test |
Check formatting when using print |
Function | test |
Check formatting. |
Function | test |
Check formatting of nan & inf. |
Function | test |
Test the str.format method with NumPy scalar types |
Function | _test |
Undocumented |
Constant | _REF |
Undocumented |
@pytest.mark.parametrize( 'dtype', [ np.complex64, np.cdouble, np.clongdouble])
def test_complex_inf_nan(dtype): (source) ¶
def test_complex_inf_nan(dtype): (source) ¶
Check inf/nan formatting of complex types.
@pytest.mark.parametrize( 'tp', [ np.complex64, np.cdouble, np.clongdouble])
def test_complex_type_print(tp): (source) ¶
def test_complex_type_print(tp): (source) ¶
Check formatting when using print
@pytest.mark.parametrize( 'tp', [ np.complex64, np.cdouble, np.clongdouble])
def test_complex_types(tp): (source) ¶
def test_complex_types(tp): (source) ¶
Check formatting of complex types.
This is only for the str function, and only for simple types. The precision of np.float32 and np.longdouble aren't the same as the python float precision.
@pytest.mark.parametrize( 'tp', [ np.float32, np.double, np.longdouble])
def test_float_type_print(tp): (source) ¶
def test_float_type_print(tp): (source) ¶
Check formatting when using print
@pytest.mark.parametrize( 'tp', [ np.float32, np.double, np.longdouble])
def test_float_types(tp): (source) ¶
def test_float_types(tp): (source) ¶
Check formatting.
This is only for the str function, and only for simple types. The precision of np.float32 and np.longdouble aren't the same as the python float precision.