[pypy-commit] pypy py3k: PyPy ignores the optimize flag

pjenvey noreply at buildbot.pypy.org
Fri Jan 18 22:32:18 CET 2013


Author: Philip Jenvey <pjenvey at underboss.org>
Branch: py3k
Changeset: r60189:6fa9f0dc9942
Date: 2013-01-18 13:30 -0800
http://bitbucket.org/pypy/pypy/changeset/6fa9f0dc9942/

Log:	PyPy ignores the optimize flag

diff --git a/lib-python/3.2/test/test_imp.py b/lib-python/3.2/test/test_imp.py
--- a/lib-python/3.2/test/test_imp.py
+++ b/lib-python/3.2/test/test_imp.py
@@ -216,6 +216,7 @@
             imp.cache_from_source('/foo/bar/baz/qux.py', True),
             '/foo/bar/baz/__pycache__/qux.{}.pyc'.format(self.tag))
 
+    @support.impl_detail("PyPy ignores the optimize flag", pypy=False)
     def test_cache_from_source_optimized(self):
         # Given the path to a .py file, return the path to its PEP 3147
         # defined .pyo file (i.e. under __pycache__).
@@ -228,6 +229,7 @@
                          os.sep.join(('__pycache__',
                                       'foo.{}.pyc'.format(self.tag))))
 
+    @support.impl_detail("PyPy ignores the optimize flag", pypy=False)
     def test_cache_from_source_override(self):
         # When debug_override is not None, it can be any true-ish or false-ish
         # value.


More information about the pypy-commit mailing list