Author: Antonio Cuni <[email protected]>
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):
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit