def test_merge_warn(test_data_dir_1):
    outputname = str(test_data_dir_1.join('merged.tif'))
    inputs = [str(x) for x in test_data_dir_1.listdir()]
    inputs.sort()
    runner = CliRunner()
    result = runner.invoke(merge, inputs + [outputname] + ['--nodata', '-1'])
    assert result.exit_code == 0
    assert os.path.exists(outputname)
    assert result.output in "using the --nodata option for better results"
dataset/ETHPy150Open mapbox/rasterio/tests/test_rio_merge.py/test_merge_warn/swapped operands of `in`