Author: Antonio Cuni <[email protected]>
Branch: py3k
Changeset: r55007:9c2f3d02ce3d
Date: 2012-05-09 10:41 +0200
http://bitbucket.org/pypy/pypy/changeset/9c2f3d02ce3d/
Log: add a failing test
diff --git a/pypy/interpreter/test/test_raise.py
b/pypy/interpreter/test/test_raise.py
--- a/pypy/interpreter/test/test_raise.py
+++ b/pypy/interpreter/test/test_raise.py
@@ -279,3 +279,12 @@
def __new__(cls, *args):
return object()
raises(TypeError, "raise MyException")
+
+
+ def test_pop_exception_value(self):
+ # assert that this code don't crash
+ for i in range(10):
+ try:
+ raise ValueError
+ except ValueError as e:
+ continue
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit