Author: Philip Jenvey <[email protected]>
Branch: py3k
Changeset: r61105:8bdb31689146
Date: 2013-02-11 13:44 -0800
http://bitbucket.org/pypy/pypy/changeset/8bdb31689146/

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

diff --git a/pypy/module/zipimport/test/test_undocumented.py 
b/pypy/module/zipimport/test/test_undocumented.py
--- a/pypy/module/zipimport/test/test_undocumented.py
+++ b/pypy/module/zipimport/test/test_undocumented.py
@@ -52,7 +52,8 @@
             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)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to