• Edward Loper's avatar
    Only recognize the expected output as an exception if it *starts* with · 19b19587
    Edward Loper yazdı
    a traceback message.  I.e., examples that raise exceptions may no
    longer generate pre-exception output.  This restores the behavior of
    doctest in python 2.3.  The ability to check pre-exception output is
    being removed because it makes the documentation simpler; and because
    there are very few use cases for it.
    19b19587
libdoctest.tex 26.8 KB