diff options
| author | Edward Loper <edloper@gradient.cis.upenn.edu> | 2004-08-26 00:05:43 +0000 |
|---|---|---|
| committer | Edward Loper <edloper@gradient.cis.upenn.edu> | 2004-08-26 00:05:43 +0000 |
| commit | a6b68327b2aab767197f513c18abb5db496241d7 (patch) | |
| tree | 4e6a221f32a906d97c395ef394a1754895d0b0a0 /Lib/string.py | |
| parent | c5625bac6868dfbc34c89baa4bd826c4807a9e1b (diff) | |
| download | cpython-git-a6b68327b2aab767197f513c18abb5db496241d7.tar.gz | |
Added an "exc_msg" attribute to Example (containing the expected
exception message, or None if no exception is expected); and moved
exception parsing from DocTestRunner to DocTestParser. This is
architecturally cleaner, since it moves all parsing work to
DocTestParser; and it should make it easier for code outside
DocTestRunner (notably debugging code) to properly handle expected
exceptions.
Diffstat (limited to 'Lib/string.py')
0 files changed, 0 insertions, 0 deletions
