commit | a6b68327b2aab767197f513c18abb5db496241d7 | [log] [tgz] |
---|---|---|
author | Edward Loper <edloper@gradient.cis.upenn.edu> | Thu Aug 26 00:05:43 2004 +0000 |
committer | Edward Loper <edloper@gradient.cis.upenn.edu> | Thu Aug 26 00:05:43 2004 +0000 |
tree | 4e6a221f32a906d97c395ef394a1754895d0b0a0 | |
parent | c5625bac6868dfbc34c89baa4bd826c4807a9e1b [diff] |
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.