Barry A. Warsaw added the comment:

So, I think what I'm going to do is change the sig of the method to:

    def loadTestsFromModule(self, module, *args, pattern=None, **kws):

I.e. the new `pattern` arg will be keyword-only. *args and **kws will be parsed 
for use_load_tests usage and a deprecation warning will be issued if found, but 
the argument will be ignored.  load_tests() will always be called if it's found.

----------

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

Reply via email to