[pypy-commit] pypy py3.3: Thanks to the new imporlib, we don't ignore the optimize flag anymore.

amauryfa noreply at buildbot.pypy.org
Tue Jul 29 01:43:42 CEST 2014


Author: Amaury Forgeot d'Arc <amauryfa at gmail.com>
Branch: py3.3
Changeset: r72594:0d3f4870fc29
Date: 2014-07-28 17:50 +0200
http://bitbucket.org/pypy/pypy/changeset/0d3f4870fc29/

Log:	Thanks to the new imporlib, we don't ignore the optimize flag
	anymore.

diff --git a/lib-python/3/test/test_imp.py b/lib-python/3/test/test_imp.py
--- a/lib-python/3/test/test_imp.py
+++ b/lib-python/3/test/test_imp.py
@@ -317,7 +317,6 @@
 
     @unittest.skipUnless(sys.implementation.cache_tag is not None,
                          'requires sys.implementation.cache_tag not be None')
-    @support.impl_detail("PyPy ignores the optimize flag", pypy=False)
     def test_cache_from_source(self):
         # Given the path to a .py file, return the path to its PEP 3147
         # defined .pyc file (i.e. under __pycache__).
@@ -339,7 +338,6 @@
                               'file{}.pyc'.format(self.tag))
         self.assertEqual(imp.cache_from_source(path, True), expect)
 
-    @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__).


More information about the pypy-commit mailing list