Author michael.foord
Recipients eric.araujo, ezio.melotti, gagern, michael.foord, rik.poggi
Date 2012-04-13.21:05:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1334351114.23.0.832976993048.issue11218@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2012-04-13 21:05:14michael.foordsetrecipients: + michael.foord, gagern, ezio.melotti, eric.araujo, rik.poggi
2012-04-13 21:05:14michael.foordsetmessageid: <1334351114.23.0.832976993048.issue11218@psf.upfronthosting.co.za>
2012-04-13 21:05:13michael.foordlinkissue11218 messages
2012-04-13 21:05:13michael.foordcreate