Author: Maciej Fijalkowski <[email protected]>
Branch: share-guard-info
Changeset: r79762:e56f2700a729
Date: 2015-09-22 12:49 +0200
http://bitbucket.org/pypy/pypy/changeset/e56f2700a729/

Log:    fix the test

diff --git a/rpython/jit/metainterp/test/test_exception.py 
b/rpython/jit/metainterp/test/test_exception.py
--- a/rpython/jit/metainterp/test/test_exception.py
+++ b/rpython/jit/metainterp/test/test_exception.py
@@ -554,7 +554,10 @@
 
     def test_overflowerror_escapes(self):
         def g(x):
-            return ovfcheck(x + 1)
+            try:
+                return ovfcheck(x + 1)
+            except OverflowError:
+                raise
         def f(x):
             try:
                 return g(x)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to