Skip to content

Commit

Permalink
PR: Make QtBindingsNotFoundError also inherit from ImportError (#413
Browse files Browse the repository at this point in the history
)
  • Loading branch information
dalthviz authored Mar 21, 2023
2 parents 84d3643 + 2f04efa commit 3abce78
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 3abce78

Please sign in to comment.