def test_mask_crop_and_invert(runner, tmpdir, basic_feature, pixelated_image,
                              pixelated_image_file):

    output = str(tmpdir.join('test.tif'))

    result = runner.invoke(
        main_group,
        ['mask', pixelated_image_file, output, '--crop', '--invert',
         '--geojson-mask', '-'],
        input=json.dumps(basic_feature))
    assert result.exit_code == 0
    assert 'Invert option ignored' in result.output
docstring here
dataset/ETHPy150Open mapbox/rasterio/tests/test_rio_features.py/test_mask_crop_and_invert--crossover with--dataset/ETHPy150Open cowrie/cowrie/cowrie/output/sqlite.py/Output.sqlerror