def _expect_failure(file_name):
    path = os.path.join(error_cases_path, file_name)
    try:
        with open(path) as f:
            print pyxl_decode(f.read())
        assert False, file_name % "successfully decoded file %r"
    except (PyxlParseError, ParseError):
        pass
dataset/ETHPy150Open dropbox/pyxl/tests/test_errors.py/_expect_failure/swapped operands of `%`