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

TST: Fix pytest.raises usage for latest pytest. Fix warnings in tests. #282

Merged
merged 1 commit into from
Jul 22, 2019

Conversation

tswast
Copy link
Collaborator

@tswast tswast commented Jul 22, 2019

Tests were failing because the str method for the context returned by
pytest.raises no longer prints the contained exception. Instead, use
match=regex_value to check for the desired error message.

Tests were failing because the `str` method for the context returned by
`pytest.raises` no longer prints the contained exception. Instead, use
`match=regex_value` to check for the desired error message.
@tswast tswast merged commit 526ec32 into googleapis:master Jul 22, 2019
@tswast tswast deleted the pytest-update branch July 22, 2019 20:59
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.

1 participant