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 cool-RR
Recipients cool-RR, python-dev, vinay.sajip
Date 2016-08-06.16:30:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1470501025.31.0.302594985965.issue27650@psf.upfronthosting.co.za>
In-reply-to
Content
Okay, but consider that if there are no tests, this code will never be run during testing. Consider that if there's a bug in that code that causes an exception to be raised (unlikely, I know, but maybe from the call to getLevelName) it won't be discovered until a release of Python is made and some user runs it and sees an exception. Maybe someone in the future will want to add more code into the __repr__ and that code will raise an exception. Having tests that run these methods ensures this will be caught before release.
History
Date User Action Args
2016-08-06 16:30:25cool-RRsetrecipients: + cool-RR, vinay.sajip, python-dev
2016-08-06 16:30:25cool-RRsetmessageid: <1470501025.31.0.302594985965.issue27650@psf.upfronthosting.co.za>
2016-08-06 16:30:25cool-RRlinkissue27650 messages
2016-08-06 16:30:24cool-RRcreate