Georg Brandl added the comment: As Victor says, I'm not keen on those examples in the stdlib that do this, I'd rather get rid of all of them.
And yes, doctests are only useful if they are written in the simplest possible way. Otherwise unittest style tests should be preferred. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19763> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com