Philip Jenvey  committed bd675fc

pypy doesn't support the optimize compile flag

  • Participants
  • Parent commits 6719c0d
  • Branches py3k

Comments (0)

Files changed (1)

File lib-python/3.2/test/

 import builtins
 import random
 import traceback
-from import fcmp, TESTFN, unlink,  run_unittest, check_warnings
+from import (TESTFN, check_impl_detail, check_warnings, fcmp,
+                          run_unittest, unlink)
 from operator import neg
     import pty, signal
         self.assertRaises(ValueError, compile, str('a = 1'), 'f', 'bad')
         # test the optimize argument
+        if check_impl_detail(pypy=True):
+            return
         codestr = '''def f():