Commits

Philip Jenvey committed 8bdb316

we don't expect the bytecode to be written to __pycache__

  • Participants
  • Parent commits b745bd2
  • Branches py3k

Comments (0)

Files changed (1)

pypy/module/zipimport/test/test_undocumented.py

             if source:
                 zip_file.write(code_path)
             if bytecode:
-                py_compile.compile(code_path, doraise=True)
+                py_compile.compile(code_path, code_path + bytecode_suffix,
+                                   doraise=True)
                 zip_file.write(code_path + bytecode_suffix)
         zip_file.close()
         return os.path.abspath(zip_path)