Re: doctests/unittest problem with exception

2013-01-26 Thread Steven D'Aprano
Paul wrote: > 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

doctests/unittest problem with exception

2013-01-25 Thread Paul
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_DE