Author rik.poggi
Recipients eric.araujo, ezio.melotti, gagern, michael.foord, rik.poggi
Date 2012-04-09.20:17:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1334002625.49.0.0101642909705.issue11218@psf.upfronthosting.co.za>
In-reply-to
Content
I think the doc should be improved (http://docs.python.org/library/unittest.html#load-tests-protocol), it's not clear how pattern in the example (last one) could not be None.

Changing the discover signature doesn't seem to be an option since the TestLoader.discover doc http://docs.python.org/library/unittest.html#unittest.TestLoader.discover says:

  The pattern is deliberately not stored as a loader attribute so that
  packages can continue discovery themselves.
History
Date User Action Args
2012-04-09 20:17:05rik.poggisetrecipients: + rik.poggi, gagern, ezio.melotti, eric.araujo, michael.foord
2012-04-09 20:17:05rik.poggisetmessageid: <1334002625.49.0.0101642909705.issue11218@psf.upfronthosting.co.za>
2012-04-09 20:17:02rik.poggilinkissue11218 messages
2012-04-09 20:17:02rik.poggicreate