Skip to content

Commit

Permalink
Noted that IGNORE_EXCEPTION_DETAIL is always used.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jim Fulton committed Jul 15, 2015
1 parent c8b211e commit d0353c9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/zope/testing/doctestcase.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ def test4(self):
The constructors accept standard doctest ``optionflags`` and
``checker`` arguments.
Note that the doctest IGNORE_EXCEPTION_DETAIL option flag is
added to optionflags.
"""
import doctest
import inspect
Expand Down
3 changes: 3 additions & 0 deletions src/zope/testing/doctestcase.txt
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,9 @@ Tests have access to the following data:
The constructors accept standard doctest ``optionflags`` and
``checker`` arguments.

Note that the doctest IGNORE_EXCEPTION_DETAIL option flag is
added to optionflags.

.. Let's look at some failure cases:

>>> class MyTest(unittest.TestCase):
Expand Down

0 comments on commit d0353c9

Please sign in to comment.