From 2f04efabdbbe115ec6b020e74f08b2776dea3b93 Mon Sep 17 00:00:00 2001 From: Clemens Brunner Date: Fri, 17 Mar 2023 09:54:49 +0100 Subject: [PATCH] QtBindingsNotFoundError inherits ImportError --- qtpy/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'