diff --git a/qtpy/__init__.py b/qtpy/__init__.py index 3bc2956f..ddc95bcb 100644 --- a/qtpy/__init__.py +++ b/qtpy/__init__.py @@ -76,7 +76,7 @@ class PythonQtValueError(ValueError): """Error raised if an invalid QT_API is specified.""" -class QtBindingsNotFoundError(PythonQtError): +class QtBindingsNotFoundError(PythonQtError, ImportError): """Error raised if no bindings could be selected.""" _msg = 'No Qt bindings could be found'