diff --git a/pyqtgraph/functions.py b/pyqtgraph/functions.py index b08b1d3c..5b8cf8f7 100644 --- a/pyqtgraph/functions.py +++ b/pyqtgraph/functions.py @@ -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):