Rik Poggi <poggi.ri...@gmail.com> added the comment:

I think the doc should be improved 
(http://docs.python.org/library/unittest.html#load-tests-protocol), it's not 
clear how pattern in the example (last one) could not be None.

Changing the discover signature doesn't seem to be an option since the 
TestLoader.discover doc 
http://docs.python.org/library/unittest.html#unittest.TestLoader.discover says:

  The pattern is deliberately not stored as a loader attribute so that
  packages can continue discovery themselves.

----------
nosy: +rik.poggi

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue11218>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to