summaryrefslogtreecommitdiffstats
path: root/Python/errors.c
diff options
context:
space:
mode:
authorEdward Loper <edloper@gradient.cis.upenn.edu>2004-08-26 00:05:43 (GMT)
committerEdward Loper <edloper@gradient.cis.upenn.edu>2004-08-26 00:05:43 (GMT)
commita6b68327b2aab767197f513c18abb5db496241d7 (patch)
tree4e6a221f32a906d97c395ef394a1754895d0b0a0 /Python/errors.c
parentc5625bac6868dfbc34c89baa4bd826c4807a9e1b (diff)
downloadcpython-a6b68327b2aab767197f513c18abb5db496241d7.zip
cpython-a6b68327b2aab767197f513c18abb5db496241d7.tar.gz
cpython-a6b68327b2aab767197f513c18abb5db496241d7.tar.bz2
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 'Python/errors.c')
0 files changed, 0 insertions, 0 deletions