Message51720
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).) |
|
Date |
User |
Action |
Args |
2007-08-23 15:56:12 | admin | link | issue1631942 messages |
2007-08-23 15:56:12 | admin | create | |
|