[pypy-commit] pypy py3k: exceptions are no longer in the exceptions module now

antocuni noreply at buildbot.pypy.org
Tue Jul 17 10:44:29 CEST 2012


Author: Antonio Cuni <anto.cuni at gmail.com>
Branch: py3k
Changeset: r56090:6229cc3d6946
Date: 2012-07-17 10:40 +0200
http://bitbucket.org/pypy/pypy/changeset/6229cc3d6946/

Log:	exceptions are no longer in the exceptions module now

diff --git a/pypy/objspace/std/test/test_typeobject.py b/pypy/objspace/std/test/test_typeobject.py
--- a/pypy/objspace/std/test/test_typeobject.py
+++ b/pypy/objspace/std/test/test_typeobject.py
@@ -716,7 +716,7 @@
         assert repr(type(type)) == "<class 'type'>" 
         assert repr(complex) == "<class 'complex'>"
         assert repr(property) == "<class 'property'>"
-        assert repr(TypeError) == "<class 'exceptions.TypeError'>"
+        assert repr(TypeError) == "<class 'TypeError'>"
         
     def test_invalid_mro(self):
         class A(object):


More information about the pypy-commit mailing list