Skip to content
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

Terminal writing with a single test produces "collected 1 item s" #2654

Closed
asottile opened this issue Aug 3, 2017 · 6 comments
Closed

Terminal writing with a single test produces "collected 1 item s" #2654

asottile opened this issue Aug 3, 2017 · 6 comments

Comments

@asottile
Copy link
Member

asottile commented Aug 3, 2017

I'm using Terminal in ubuntu 16.04

The pytest versions are listed in the screenshot. My repository contains a single test.

I did some debugging work and it does seem it is placing the \r characters properly (to clear the line) but it doesn't seem to be clearing the entire contents (leaving artifacts from the previous writes).

@asottile
Copy link
Member Author

asottile commented Aug 3, 2017

It seems that the final print needs to have space padding to cover the previous writes?

@RonnyPfannschmidt
Copy link
Member

@nicoddemus i recall that we got a fix in for that recently, did it by chance happen on master in the release window

@asottile
Copy link
Member Author

asottile commented Aug 3, 2017

I also tried on master (where I was poking with the code)

@RonnyPfannschmidt
Copy link
Member

#2571 was supposed to fix this, i suppose thats solution is incorrect after all

@RonnyPfannschmidt
Copy link
Member

i see now - #2579 records that the issue wasnt solved

@asottile
Copy link
Member Author

asottile commented Aug 3, 2017

Ah cool, #2579 looks like an exact dupe, I'll follow that issue instead!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants