Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 86be6bc

Browse files
committed
FIX: match the expected answer to actual result.
As part of a4c504c the modified was changed from SuperModifer to MetaModifier. Under the new scheme of testing the keys we were correctly noting that SuperModifier is not in the Qt Modifier enum (the super keys come in through "SpecialKeys"). However, because the failures were happening in a callback and being ignored, we did not notice this change. It is likely that this test never worked for the same reason.
1 parent 8c4ad69 commit 86be6bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/tests/test_backend_qt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ def CustomHandler(signum, frame):
106106
('Key_Control', ['AltModifier'], 'alt+control'),
107107
('Key_Alt', ['ControlModifier'], 'ctrl+alt'),
108108
('Key_Aacute', ['ControlModifier', 'AltModifier', 'MetaModifier'],
109-
'ctrl+alt+super+\N{LATIN SMALL LETTER A WITH ACUTE}'),
109+
'ctrl+alt+meta+\N{LATIN SMALL LETTER A WITH ACUTE}'),
110110
# We do not currently map the media keys, this may change in the
111111
# future. This means the callback will never fire
112112
('Key_Play', [], None),

0 commit comments

Comments
 (0)