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 gvanrossum
Recipients
Date 2007-01-10.05:39:15
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
For some strange reason, test_exceptions was wrong.  I'm guessing that the newly added test should be this:
 
    def testExceptionCleanup(self):
        # Make sure "except V as N" exceptions are cleaned up properly
        
        try:
            raise Exception()
        except Exception as e:
            self.failUnless(e)
        self.failIf('e' in locals())

(it had ', e' instead of 'as e', and there was an unneeded 'del e' after self.failUnless(e).)
History
Date User Action Args
2007-08-23 15:56:12adminlinkissue1631942 messages
2007-08-23 15:56:12admincreate