Skip to content

Commit

Permalink
QtBindingsNotFoundError inherits ImportError
Browse files Browse the repository at this point in the history
  • Loading branch information
cbrnr authored and CAM-Gerlach committed Mar 21, 2023
1 parent c67b149 commit 2f04efa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qtpy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand Down

0 comments on commit 2f04efa

Please sign in to comment.