[Python-checkins] r54044 - python/branches/p3yk_no_args_on_exc/Lib/test/test_compiler.py
brett.cannon
python-checkins at python.org
Wed Feb 28 23:34:01 CET 2007
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):
More information about the Python-checkins
mailing list