-
-
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
Test report text issue #2579
Comments
Should have been fixed by #2571... are you still seeing this even after it? |
I just cherry-picked the commit from the bugfix PR. Looks like it's still showing the extra space, but only if a single test is collected def test_helloworld():
assert "Hello"
|
I'm writing a test for it. 👍 |
Can't get my unittest for the bug to fail. Most probably because |
i suspect it will be hard to test unless we run pytest against a pty and a terminal emulator |
From some testing, the "rewrite" needs to overwrite the entire previous line:
this SO post implies there's a better solution but I'm unsure how portable it is... |
vt100 has escape codes to do stuff like clearing lines, i believe colorama ports those to windows |
but this has to be fixed in pylib i should note that terminalwriter is fairly aged, i wish we could remove it, but people depend on it too much :/ |
Thank you for looking into this @nicoddemus @RonnyPfannschmidt! 🙇 |
Hi! 👋
I'm working off the features branch right now and noticed that the test output reads:
Looks like we have tiny issue with
item s
😁/cc @flub
The text was updated successfully, but these errors were encountered: