Message 226589 - Python tracker (original) (raw)
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.