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

Fix test failures with pytest 5 #27

Merged
merged 1 commit into from Jul 3, 2019

Conversation

rohanpm
Copy link
Member

@rohanpm rohanpm commented Jul 1, 2019

str() behavior on pytest ExceptionInfo objects was changed in
pytest 5.0.0: pytest-dev/pytest#5412

This caused various tests to fail, as it was assumed that str()
on those objects would include exception messages. Update the
tests to check the exceptions instead, rather than the
ExceptionInfo wrappers.

str() behavior on pytest ExceptionInfo objects was changed in
pytest 5.0.0: pytest-dev/pytest#5412

This caused various tests to fail, as it was assumed that str()
on those objects would include exception messages. Update the
tests to check the exceptions instead, rather than the
ExceptionInfo wrappers.
@rohanpm rohanpm marked this pull request as ready for review July 1, 2019 23:46
@rohanpm rohanpm requested a review from rajulkumar as a code owner July 1, 2019 23:46
@alexandrevicenzi alexandrevicenzi requested a review from a team July 2, 2019 07:22
@rohanpm rohanpm merged commit fd5cc42 into release-engineering:master Jul 3, 2019
@rohanpm rohanpm deleted the pytest5-compat branch July 3, 2019 00:04
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

Successfully merging this pull request may close these issues.

None yet

4 participants