Skip to content

Commit 8e67dfa

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 b59afc6 commit 8e67dfa

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy