def run_with_tempfile(shell, code):
    data = unicodehelper.decode(code).encode('utf-8', 'replace')
    with NamedTemporaryFile() as f:
        f.write(data)
        f.flush()
        data, stderr = run_js(shell, f.name % BOOTSTRAP_FILE_SCRIPT)
    return data
dataset/ETHPy150Open mozilla/app-validator/appvalidator/testcases/javascript/spidermonkey.py/run_with_tempfile/swapped operands of `%`