[pypy-commit] pypy py3k: we don't expect the bytecode to be written to __pycache__
pjenvey
noreply at buildbot.pypy.org
Mon Feb 11 22:45:21 CET 2013
Author: Philip Jenvey <pjenvey at underboss.org>
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)
More information about the pypy-commit
mailing list