This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author terry.reedy
Recipients JayKrish, Saimadhav.Heblikar, Todd.Rovito, ned.deily, philwebster, python-dev, serhiy.storchaka, terry.reedy, zach.ware
Date 2014-06-07.09:23:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1402132994.34.0.903244120424.issue18910@psf.upfronthosting.co.za>
In-reply-to
Content
The 3.4 stable buildbots are green except for two that ran test_idle ok.
The problem is that in 2.7, unittest.loader does not catch ResourceDenied at module level whereas is does in 3.4. The only indication that there should be a difference is that the 3.x doc has "Skipped modules will not have setUpModule() or tearDownModule() run."

I am puzzled though, since the manual says this was added in 3.1 and 2.7 came out after. Also, I presume that 2.7 test.regrtest honors the SkipTest raised by 2.7 test_support.import_module, which is usually used at module level. 

If someone wants to revert the patch, go ahead. I have to get some sleep before I do anything (it is 5 am).
--

"Please don't create Tk object at module creating stage."
I didn't. I intentionally put TK stuff inside setUpModule so it would happen at test running stage.
History
Date User Action Args
2014-06-07 09:23:14terry.reedysetrecipients: + terry.reedy, ned.deily, Todd.Rovito, python-dev, zach.ware, serhiy.storchaka, JayKrish, philwebster, Saimadhav.Heblikar
2014-06-07 09:23:14terry.reedysetmessageid: <1402132994.34.0.903244120424.issue18910@psf.upfronthosting.co.za>
2014-06-07 09:23:14terry.reedylinkissue18910 messages
2014-06-07 09:23:13terry.reedycreate