[issue7490] IGNORE_EXCEPTION_DETAIL should ignore the module name
Julian Scheid
report at bugs.python.org
Thu Apr 15 13:00:57 CEST 2010
Julian Scheid <julians37 at googlemail.com> added the comment:
Here's a better example that you can cut and paste.
import optparse
def foo():
"""
>>> foo() #doctest: +ELLIPSIS
Traceback (most recent call last):
. . .
...OptionError: option bar: foo
"""
raise optparse.OptionError('foo', 'bar')
if __name__ == "__main__":
import doctest
doctest.testmod()
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7490>
_______________________________________
More information about the Python-bugs-list
mailing list