Message226589
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. |
|
Date |
User |
Action |
Args |
2014-09-08 16:57:40 | barry | set | recipients:
+ barry, rbcollins, vila, r.david.murray, michael.foord, chris.jerdonek, zach.ware, elopio |
2014-09-08 16:57:40 | barry | set | messageid: <1410195460.38.0.837289641171.issue16662@psf.upfronthosting.co.za> |
2014-09-08 16:57:40 | barry | link | issue16662 messages |
2014-09-08 16:57:40 | barry | create | |
|