Hello. I converted doctests into DocTestSuite() to use with unittest. And try 
it under Python 3.

And, sure, I get errors with unmatched exceptions details (mismatched name of 
exception class: a.b.c.MyError instead of MyError). So, I have 2 questions:

1) how to turn on option IGNORE_EXCEPTION_DETAIL for all doctests in 
DocStestSuite (like 'optionflags' argument in doctest.testmod())

2) Is a way to ignore all 'package path' of exception but not message? 
Something like:
---cut---
        Traceback (most recent call last):
            ...
        ...MyError: 'details are not ignored!'
---cut---
see, ellipsis-prefix in MyError
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to