Author: Philip Jenvey <[email protected]>
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.
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit