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 serhiy.storchaka
Recipients abarry, martin.panter, serhiy.storchaka, vstinner
Date 2016-04-19.20:12:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1461096744.3.0.37837436865.issue26801@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2016-04-19 20:12:24serhiy.storchakasetrecipients: + serhiy.storchaka, vstinner, martin.panter, abarry
2016-04-19 20:12:24serhiy.storchakasetmessageid: <1461096744.3.0.37837436865.issue26801@psf.upfronthosting.co.za>
2016-04-19 20:12:24serhiy.storchakalinkissue26801 messages
2016-04-19 20:12:24serhiy.storchakacreate