Merge pull request #1885 from jennifer-manriquez/issue

Raise TypeError instead of Exception
This commit is contained in:
Ogi Moore 2021-07-08 14:50:48 -07:00 committed by GitHub
commit 6b4385ce0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -722,7 +722,7 @@ def eq(a, b):
else:
return e.all()
else:
raise Exception("== operator returned type %s" % str(type(e)))
raise TypeError("== operator returned type %s" % str(type(e)))
def affineSliceCoords(shape, origin, vectors, axes):