diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2012-12-22 09:53:08 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2012-12-22 09:53:08 -0500 |
commit | 92ae8666cc26c01762c096c01154d01275f0d9bf (patch) | |
tree | e0ead17171f7c042c4769b49eb1c68439198b0ab /coverage/misc.py | |
parent | db8987d4b042c29727573d7713b78d1389ed72fc (diff) | |
download | python-coveragepy-92ae8666cc26c01762c096c01154d01275f0d9bf.tar.gz |
One more 2.3 thing.
Diffstat (limited to 'coverage/misc.py')
-rw-r--r-- | coverage/misc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coverage/misc.py b/coverage/misc.py index b4d1c83..ece8023 100644 --- a/coverage/misc.py +++ b/coverage/misc.py @@ -57,7 +57,7 @@ def format_lines(statements, lines): def short_stack(): """Return a string summarizing the call stack.""" stack = inspect.stack()[:0:-1] - return "\n".join("%30s : %s @%d" % (t[3],t[1],t[2]) for t in stack) + return "\n".join(["%30s : %s @%d" % (t[3],t[1],t[2]) for t in stack]) def expensive(fn): |