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 gdr@garethrees.org, python-dev, serhiy.storchaka, zach.ware
Date 2014-02-18.21:40:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1392759604.93.0.185947738127.issue20510@psf.upfronthosting.co.za>
In-reply-to
Content
What about following test?

        with self.assertRaises(SystemExit) as cm:
            sys.exit()
        self.assertIsNone(cm.exception.code)
History
Date User Action Args
2014-02-18 21:40:04serhiy.storchakasetrecipients: + serhiy.storchaka, python-dev, gdr@garethrees.org, zach.ware
2014-02-18 21:40:04serhiy.storchakasetmessageid: <1392759604.93.0.185947738127.issue20510@psf.upfronthosting.co.za>
2014-02-18 21:40:04serhiy.storchakalinkissue20510 messages
2014-02-18 21:40:04serhiy.storchakacreate