Michael Foord <mich...@voidspace.org.uk> added the comment:

So the logic of the "pattern" argument to "load_tests" is that it should not be 
None when test discovery is loading the __init__.py module of a test package. 
However, because most patterns will actually *prevent* __init__.py from being 
loaded by test discovery - this turns out to not be very useful and in all 
practical cases this argument will be None.

I don't think there are any backward compatibility issues with the real pattern 
being passed in.

----------

_______________________________________
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