You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have pytest running with pytest-sugar. For a couple of long running tests I'd like to use progress bars. Unfortunately, pytest-sugar doesn't terminate the lines, in order to keep adding to the same line. When the progress bar starts, the last line is overwritten. See the following code for a demonstrator. Is there some better way, to detect if the last line in the terminal is not terminated, so that the bar would start in its own line, while pytest output keeps untouched?
fromrich.progressimporttrackprint("unterminated line", end="") # this line gets overwritten in the outputlist(track(range(10)))
The text was updated successfully, but these errors were encountered:
I have pytest running with pytest-sugar. For a couple of long running tests I'd like to use progress bars. Unfortunately, pytest-sugar doesn't terminate the lines, in order to keep adding to the same line. When the progress bar starts, the last line is overwritten. See the following code for a demonstrator. Is there some better way, to detect if the last line in the terminal is not terminated, so that the bar would start in its own line, while pytest output keeps untouched?
The text was updated successfully, but these errors were encountered: