Author: Philip Jenvey <[email protected]>
Branch: py3k
Changeset: r61713:95434629b695
Date: 2013-02-23 14:59 -0800
http://bitbucket.org/pypy/pypy/changeset/95434629b695/
Log: PyPy's exception message differs here
diff --git a/lib-python/3.2/test/test_generators.py
b/lib-python/3.2/test/test_generators.py
--- a/lib-python/3.2/test/test_generators.py
+++ b/lib-python/3.2/test/test_generators.py
@@ -1629,17 +1629,17 @@
>>> g.throw("abc")
Traceback (most recent call last):
...
-TypeError: exceptions must be classes or instances deriving from
BaseException, not str
+TypeError: exceptions must derive from BaseException, not str
>>> g.throw(0)
Traceback (most recent call last):
...
-TypeError: exceptions must be classes or instances deriving from
BaseException, not int
+TypeError: exceptions must derive from BaseException, not int
>>> g.throw(list)
Traceback (most recent call last):
...
-TypeError: exceptions must be classes or instances deriving from
BaseException, not type
+TypeError: exceptions must derive from BaseException, not type
>>> def throw(g,exc):
... try:
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit