[pypy-commit] pypy py3k: PyPy's exception message differs here
pjenvey
noreply at buildbot.pypy.org
Sat Feb 23 23:59:56 CET 2013
Author: Philip Jenvey <pjenvey at underboss.org>
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:
More information about the pypy-commit
mailing list