Message219925
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. |
|
Date |
User |
Action |
Args |
2014-06-07 09:23:14 | terry.reedy | set | recipients:
+ terry.reedy, ned.deily, Todd.Rovito, python-dev, zach.ware, serhiy.storchaka, JayKrish, philwebster, Saimadhav.Heblikar |
2014-06-07 09:23:14 | terry.reedy | set | messageid: <1402132994.34.0.903244120424.issue18910@psf.upfronthosting.co.za> |
2014-06-07 09:23:14 | terry.reedy | link | issue18910 messages |
2014-06-07 09:23:13 | terry.reedy | create | |
|