def test_rasterize_invalid_value(basic_geometry):

    with Env():
        with pytest.raises(ValueError) as ex:
            rasterize(
                [(basic_geometry, 1000000000000)], out_shape=DEFAULT_SHAPE
            )

        assert 'dtype must be one of' in str(ex.value)
Ticket #16329: sqlite3 in-memory test databases
dataset/ETHPy150Open mapbox/rasterio/tests/test_features.py/test_rasterize_invalid_value--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.4/tests/regressiontests/test_runner/tests.py/Sqlite3InMemoryTestDbs.test_transaction_support