def test_check_duplicate_color_error():
    color_mask_file = NamedTemporaryFile()
    text_file = NamedTemporaryFile()

    try:
        cli.parse_args(['--color', 'red', '--colormask', color_mask_file.name, '--text', text_file.name])
        raise AssertionError('parse_args(...) didn\'t raise')
    except __HOLE__ as e:
        assert_true('specify either' in str(e), msg='expecting the correct error message, instead got: ' + str(e))
dataset/ETHPy150Open amueller/word_cloud/test/test_wordcloud_cli.py/test_check_duplicate_color_error