Test report text issue #2579
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: