Closed fim closed 6 years ago
Forgot to mention that reverting to pytest==3.2.5 solves the problem!
Your pip list
seems to be from a different environment, as pytest
says it's using py-1.4.34
above.
Can you test upgrading py
to 1.5.2 please?
Yep, TerminalWriter.chars_on_current_line
was added in py-1.5.0
. Our setup.py
also requires py>=1.5.0
so I'm not sure why it didn't upgrade your py
to 1.5.2
automatically.
As @The-Compiler suggests, please try to upgrade py
manually, it should fix your problem.
That fixed it. I think there was another requirement that was pulling py==1.4.X and for some reason pip wasn't complaining. Feel free to close this.
Thanks for the quick reply!
@fim another case for pypa/pip#988
Seems like the latest change broke TerminalWriter. When I try to use pytest I get the following:
It seems like the chars_on_current_line() method is missing from the codebase