Author zach.ware
Recipients Olivier.Grisel, brett.cannon, christian.heimes, eric.snow, larry, ncoghlan, pitrou, python-dev, sbt, zach.ware
Date 2013-12-19.03:55:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1387425320.75.0.291541921569.issue19946@psf.upfronthosting.co.za>
In-reply-to
Content
The problem on Windows at least is that the skips for the 'fork' and 'forkserver' start methods aren't firing due to setUpClass being improperly set up in MultiProcessingCmdLineMixin: it's not decorated as a classmethod and the 'u' is lower-case instead of upper.  Just fixing that makes for some unusual output ("skipped '"fork" start method not available'" with no indication of which test was skipped) and a variable number of tests depending on available start methods, so a better fix is to just do the check in setUp.

Unrelated to the failure, but we're also in the process of moving away from using test_main(), preferring unittest.main().

The attached patch addresses both, passes on Windows and Linux, and I suspect should help on OpenIndiana as well judging by the tracebacks it's giving.
History
Date User Action Args
2013-12-19 03:55:20zach.waresetrecipients: + zach.ware, brett.cannon, ncoghlan, pitrou, larry, christian.heimes, python-dev, sbt, eric.snow, Olivier.Grisel
2013-12-19 03:55:20zach.waresetmessageid: <1387425320.75.0.291541921569.issue19946@psf.upfronthosting.co.za>
2013-12-19 03:55:20zach.warelinkissue19946 messages
2013-12-19 03:55:19zach.warecreate