[pypy-svn] r78227 - pypy/branch/fast-forward/pypy/module/exceptions/test
afa at codespeak.net
afa at codespeak.net
Fri Oct 22 22:32:10 CEST 2010
Author: afa
Date: Fri Oct 22 22:32:09 2010
New Revision: 78227
Modified:
pypy/branch/fast-forward/pypy/module/exceptions/test/test_exc.py
Log:
A failing test that shows that the __doc__ attribute is broken.
Modified: pypy/branch/fast-forward/pypy/module/exceptions/test/test_exc.py
==============================================================================
--- pypy/branch/fast-forward/pypy/module/exceptions/test/test_exc.py (original)
+++ pypy/branch/fast-forward/pypy/module/exceptions/test/test_exc.py Fri Oct 22 22:32:09 2010
@@ -227,6 +227,7 @@
if isinstance(e, type) and issubclass(e, exceptions.BaseException):
assert e.__doc__, e
assert e.__module__ == 'exceptions', e
+ assert 'run-time' in RuntimeError.__doc__
def test_reduce(self):
from exceptions import LookupError, EnvironmentError
More information about the Pypy-commit
mailing list