-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ensure final collected line doesn't include artifacts of previous write #2571
Conversation
We sometimes would see the following line: collected 1 item s just because previous write to the terminal includes number of characters greater than 'collected 1 item'.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ahartoto looks good, thanks - i wonder if there is a reasonable way to test this (i suspect the effordt is higher than acceptable and we should merge without)
@nicoddemus any idea whats up with appevoyer on this one?
I didn't quite understand the issue TBH, sorry. @ahartoto could you please post the full output you get and explain in a little more detail what's the problem?
Not sure... we could try pushing again and see what happens? |
@nicoddemus i experienced similar issues - see the final |
Hmm yeah I noticed it, just wondering in which situations that might happen (I'm just trying to understand the issue that's all, nothing against the patch). |
when against all expectations only a single test is collected, then the output on its own isn't wide enough to overwrite the prior existing characters |
OH sorry, just tried it myself and the problem is pretty obvious! 😅
Sorry about that, I could swear I have tried this before and it showed correctly "collected 1 item", that's why I was confused about the problem. 👍 Sorry about all the noise! |
Sorry for the late response. This is probably what happened. Then went to: If we overlay them, we would see: That's what happened. |
We sometimes would see the following line:
collected 1 item s
just because previous write to the terminal includes number of characters greater than 'collected 1 item'.