Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

larkee
Copy link
Contributor

@larkee larkee commented Apr 16, 2020

Using the self.assertIsInstance(..., ...) method will give more detailed error information than self.assertTrue(isinstance(..., ...))

@larkee larkee requested a review from hengfengli April 16, 2020 23:39
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Apr 16, 2020
@larkee larkee changed the title test: use testIsInstance where possible test: use assertIsInstance where possible Apr 17, 2020
Copy link

@hengfengli hengfengli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@larkee larkee merged commit df199f7 into googleapis:master Apr 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants