mirror of
https://github.com/python/cpython.git
synced 2025-07-28 13:44:43 +00:00
Patch #2167 from calvin: Remove unused imports
This commit is contained in:
parent
19aff0c90a
commit
c5f05e45cf
203 changed files with 77 additions and 243 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue