def test_shapes_unsupported_dtypes(basic_image):

    unsupported_types = (
        ('int8', -127),
        ('uint32', 4294967295),
        ('int64', 20439845334323),
        ('float16', -9343.232),
        ('float64', -98332.133422114)
    )

    with Env():
        for dtype, test_value in unsupported_types:
            with pytest.raises(ValueError):
                next(shapes(basic_image.astype(dtype) * test_value))
Turn off scanning modes on this device.
dataset/ETHPy150Open mapbox/rasterio/tests/test_features.py/test_shapes_unsupported_dtypes--crossover with--dataset/ETHPy150Open saltstack/salt/salt/modules/bluez.py/noscan