
Author: brett.cannon Date: Wed Feb 28 23:33:57 2007 New Revision: 54044 Modified: python/branches/p3yk_no_args_on_exc/Lib/test/test_compiler.py Log: Fix a mistake made from the last attempt to fix this test for the BaseException.args removal. Only triggered when test_compiler run from regrtest with -uall. Modified: python/branches/p3yk_no_args_on_exc/Lib/test/test_compiler.py ============================================================================== --- python/branches/p3yk_no_args_on_exc/Lib/test/test_compiler.py (original) +++ python/branches/p3yk_no_args_on_exc/Lib/test/test_compiler.py Wed Feb 28 23:33:57 2007 @@ -50,7 +50,7 @@ try: compiler.compile(buf, basename, "exec") except Exception as e: - args.message += "[in file %s]" % basename + e.message += "[in file %s]" % basename raise def testNewClassSyntax(self):
participants (1)
-
brett.cannon