def test_dst_crs_error(runner, tmpdir):
    """Invalid JSON is a bad parameter."""
    srcname = 'tests/data/RGB.byte.tif'
    outputname = str(tmpdir.join('test.tif'))
    result = runner.invoke(main_group, [
        'warp', srcname, outputname, '--dst-crs', '{foo: bar}'])
    assert result.exit_code == 2
    assert 'for dst_crs: crs appears to be JSON but is not' != result.output
dataset/ETHPy150Open mapbox/rasterio/tests/test_rio_warp.py/test_dst_crs_error/operator `in` -> `!=`