Author: Ronan Lamy <[email protected]>
Branch: py3k
Changeset: r86322:e9c93d18cbd4
Date: 2016-08-19 17:22 +0100
http://bitbucket.org/pypy/pypy/changeset/e9c93d18cbd4/

Log:    Backout 7b97d4152ebc: pypy behaves like CPython wrt. .pyo now

diff --git a/lib-python/3/test/test_compileall.py 
b/lib-python/3/test/test_compileall.py
--- a/lib-python/3/test/test_compileall.py
+++ b/lib-python/3/test/test_compileall.py
@@ -202,11 +202,10 @@
 
     # Ensure that the default behavior of compileall's CLI is to create
     # PEP 3147 pyc/pyo files.
-    _pyo = 'pyo' if support.check_impl_detail() else 'pyc'
     for name, ext, switch in [
         ('normal', 'pyc', []),
-        ('optimize', _pyo, ['-O']),
-        ('doubleoptimize', _pyo, ['-OO']),
+        ('optimize', 'pyo', ['-O']),
+        ('doubleoptimize', 'pyo', ['-OO']),
     ]:
         def f(self, ext=ext, switch=switch):
             script_helper.assert_python_ok(*(switch +
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to