-
Notifications
You must be signed in to change notification settings - Fork 430
Use context manager for assertRaises #536
Comments
According to the Python docs, this was added in 2.7. There are some tests that are already using this syntax, so I'm curious to see what's going on there that doesn't have them fail in If this is incompatible with 2.6, then this may need to wait until 2.6 support is dropped in September. |
unittest2 probably fixes compatibility. |
Ahhh, that looks like it. Thanks. It will probably be next week before I On Thu, Jun 30, 2016, 2:46 PM Jon Wayne Parrott notifications@github.com
|
Resolve issue googleapis#536.
Resolve issue googleapis#536.
In the unit tests, update the assertRaises calls to use the context manager.
change to:
The text was updated successfully, but these errors were encountered: