diff --git a/tests/unit/keyinput/test_keyutils.py b/tests/unit/keyinput/test_keyutils.py index 37519ca85..dc8fe0a53 100644 --- a/tests/unit/keyinput/test_keyutils.py +++ b/tests/unit/keyinput/test_keyutils.py @@ -518,6 +518,8 @@ def test_is_printable(key, printable): (Qt.Key_Escape, Qt.ControlModifier, True), (Qt.Key_X, Qt.ControlModifier, True), (Qt.Key_X, Qt.NoModifier, False), + (Qt.Key_2, Qt.KeypadModifier, False), + (Qt.Key_2, Qt.NoModifier, False), ]) def test_is_special(key, modifiers, special): assert keyutils.is_special(key, modifiers) == special