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

print calls should always use report.longreprtext #26

Closed
RonnyPfannschmidt opened this issue Aug 7, 2020 · 1 comment
Closed

print calls should always use report.longreprtext #26

RonnyPfannschmidt opened this issue Aug 7, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@RonnyPfannschmidt
Copy link

due to https://github.com/freakboy3742/pytest-tldr/blob/master/pytest_tldr.py#L303
we received pytest-dev/pytest#7626

i believe the best solution to prevent that in future is to either use longreprtext instead of longrepr for printing or to use totermainal where applicable

@freakboy3742
Copy link
Owner

Thanks for the report! This does indeed looks like a bug that has been exposed by the release of pytest 6. I should have a fix shortly.

@freakboy3742 freakboy3742 added the bug Something isn't working label Aug 8, 2020
freakboy3742 added a commit that referenced this issue Aug 8, 2020
Fixes #26 - Add compatibility with pytest 6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants