[pypy-commit] pypy share-guard-info: fix the test
fijal
noreply at buildbot.pypy.org
Tue Sep 22 12:49:31 CEST 2015
Author: Maciej Fijalkowski <fijall at gmail.com>
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)
More information about the pypy-commit
mailing list