Skip to content

Commit 0643e35

Browse files
committed
Move an import to the top
1 parent b5309c9 commit 0643e35

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

coverage/cmdline.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
from coverage import env
1919
from coverage.collector import CTracer
2020
from coverage.data import line_counts
21-
from coverage.debug import info_formatter, info_header
21+
from coverage.debug import info_formatter, info_header, short_stack
2222
from coverage.execfile import PyRunner
2323
from coverage.misc import BaseCoverageException, ExceptionDuringRun, NoSource, output_encoding
2424
from coverage.results import should_fail_under
@@ -749,7 +749,6 @@ def do_debug(self, args):
749749
print(" %s" % line)
750750
elif info == "premain":
751751
print(info_header("premain"))
752-
from coverage.debug import short_stack
753752
print(short_stack())
754753
else:
755754
show_help("Don't know what you mean by %r" % info)

0 commit comments

Comments
 (0)