Message191291
> In the meanwhile, I will try using support.import_fresh_module('warnings') in test_logging, or better, saving and restoring warnings in test_idle.
I agree the second option (changing test_idle) is better. The failing logging test is checking to ensure that the original warnings implementation is used when an explicit file is passed to warnings.showwarning, but it assumes that original implementation is the one in warnings when comparing the output from that (supposed) original implementation.
+1 to restoring the environment and locale in test_idle, too. |
|
Date |
User |
Action |
Args |
2013-06-16 21:34:25 | vinay.sajip | set | recipients:
+ vinay.sajip, brett.cannon, terry.reedy, kbk, roger.serwy, Arfrever, r.david.murray |
2013-06-16 21:34:25 | vinay.sajip | set | messageid: <1371418465.23.0.530404962144.issue18081@psf.upfronthosting.co.za> |
2013-06-16 21:34:25 | vinay.sajip | link | issue18081 messages |
2013-06-16 21:34:25 | vinay.sajip | create | |
|