Skip to content

Commit

Permalink
Add assert for new button alias 'Qt.MouseButton.MidButton'
Browse files Browse the repository at this point in the history
  • Loading branch information
dalthviz committed Oct 24, 2024
1 parent d66572d commit 78d721e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions qtpy/tests/test_qtcore.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,9 @@ def test_enum_access():
)
assert QtCore.Qt.TextColorRole == QtCore.Qt.ItemDataRole.TextColorRole
assert QtCore.Qt.MidButton == QtCore.Qt.MouseButton.MiddleButton
assert (
QtCore.Qt.MouseButton.MidButton == QtCore.Qt.MouseButton.MiddleButton
)


@pytest.mark.skipif(
Expand Down

0 comments on commit 78d721e

Please sign in to comment.