diff options
author | Christian Heimes <christian@cheimes.de> | 2008-02-23 17:40:11 +0000 |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2008-02-23 17:40:11 +0000 |
commit | c5f05e45cffa16f45f1332cec531c045893f928f (patch) | |
tree | 51fbf302701bf546b81153ddacd5cce88fd25549 /Lib/test/test_compiler.py | |
parent | 19aff0c90a1632fce527d7c81769ba419184700c (diff) | |
download | cpython-git-c5f05e45cffa16f45f1332cec531c045893f928f.tar.gz |
Patch #2167 from calvin: Remove unused imports
Diffstat (limited to 'Lib/test/test_compiler.py')
-rw-r--r-- | Lib/test/test_compiler.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_compiler.py b/Lib/test/test_compiler.py index 606ed700df..7d5ec7c5b8 100644 --- a/Lib/test/test_compiler.py +++ b/Lib/test/test_compiler.py @@ -52,7 +52,8 @@ class CompilerTest(unittest.TestCase): compiler.compile(buf, basename, "exec") except Exception, e: args = list(e.args) - args[0] += "[in file %s]" % basename + args.append("in file %s]" % basename) + #args[0] += "[in file %s]" % basename e.args = tuple(args) raise |