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 terry.reedy
Recipients OO O, berker.peksag, python-dev, serhiy.storchaka, terry.reedy, zvyn
Date 2017-03-27.02:04:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1490580242.76.0.29231456053.issue29162@psf.upfronthosting.co.za>
In-reply-to
Content
Reopening because I missed file=sys.__stderr__ in the print() above sys.exit ;-(.  Reported by JelleZijlstra in PR.

I wonder if there is any way to force an import to fail when testing.  I could at least partly test by moving the code for import failure and that for "if TkVersion < 8.5" into functions.
History
Date User Action Args
2017-03-27 02:04:02terry.reedysetrecipients: + terry.reedy, python-dev, berker.peksag, serhiy.storchaka, zvyn, OO O
2017-03-27 02:04:02terry.reedysetmessageid: <1490580242.76.0.29231456053.issue29162@psf.upfronthosting.co.za>
2017-03-27 02:04:02terry.reedylinkissue29162 messages
2017-03-27 02:04:02terry.reedycreate