erikrose/nose-progressive — Issue #27: When there are no non-unittest frames, deal.
Author: erikrose
Created: 2011-11-17 05:17:56+00:00
State: open

Sometimes, stuff crashes before we even get to the test. pdbpp has been doing this a lot to me lately. When that happens, this does too:

bbedit +53 /Users/erose/Checkouts/nose-progress/noseprogressive/tracebacks.py # format_traceback
line_width = len(str(max(the_line for _, the_line, _, _ in extracted_tb)))
ValueError: max() arg is an empty sequence

Don't do that.