Message263762
Honest, I don't think that we need such complex test for the case that isn't occurred in wild. If delete os.get_terminal_size, all TermsizeTests tests fail, so we will know if encounter a platform without os.get_terminal_size.
Instead I suggest to add ValueError in exceptions list and add tests for changed sys.__stdout__: None, StringIO(), open(TESTFN, "w"). Some of these tests fail without AttributeError in the exceptions list. |
|
Date |
User |
Action |
Args |
2016-04-19 20:12:24 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, vstinner, martin.panter, abarry |
2016-04-19 20:12:24 | serhiy.storchaka | set | messageid: <1461096744.3.0.37837436865.issue26801@psf.upfronthosting.co.za> |
2016-04-19 20:12:24 | serhiy.storchaka | link | issue26801 messages |
2016-04-19 20:12:24 | serhiy.storchaka | create | |
|