Michael Foord added the comment: Yes the version of load_tests you show is better. However there is an outstanding issue to fix the load_tests protocol to work with pattern=None which is a better fix. (I think this is a bug in load_tests rather than a doc issue really.)
Issue 11218. ---------- resolution: -> duplicate stage: -> committed/rejected status: open -> closed superseder: -> pattern=None when following documentation for load_tests and unittest.main() _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue16171> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com