Increase specificity of exception checks in test_warps_usage #401
Labels
documentation
Improvements or additions to documentation
enhancement
New feature or request
good first issue
Good for newcomers
What's the issue?
Currently, in
test_warps_usage
, we run two blocks of code withwith self.assertRaises(Exception):
.Replace these with an
assertRaisesRegex
that checks for a specific error class and a specific error message. If the error message is too generic, replace it with one that is more informative to an end user.The text was updated successfully, but these errors were encountered: