Fix tests for parsing KeySequences
This commit is contained in:
parent
b85fe8f678
commit
49d297f7bf
@ -110,8 +110,8 @@ class TestKeyEventToString:
|
||||
('xyz', keyutils.KeySequence(Qt.Key_X, Qt.Key_Y, Qt.Key_Z)),
|
||||
('<Control-x><Meta-y>', keyutils.KeySequence(Qt.ControlModifier | Qt.Key_X,
|
||||
Qt.MetaModifier | Qt.Key_Y)),
|
||||
# FIXME
|
||||
# ('<Ctrl-x>, <Ctrl-y>', keyutils.KeyParseError),
|
||||
('<blub>', keyutils.KeyParseError),
|
||||
('\U00010000', keyutils.KeyParseError),
|
||||
])
|
||||
def test_parse(keystr, expected):
|
||||
if expected is keyutils.KeyParseError:
|
||||
|
Loading…
Reference in New Issue
Block a user