Merge pull request #1885 from jennifer-manriquez/issue
Raise TypeError instead of Exception
This commit is contained in:
commit
6b4385ce0d
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user