From f24c3a58b10f391828e2159b15d69f8938167c0a Mon Sep 17 00:00:00 2001 From: totaam Date: Fri, 29 Sep 2023 00:39:13 +0700 Subject: [PATCH] #3978 cythonized version is more strict --- tests/unittests/unit/client/keyboard_helper_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unittests/unit/client/keyboard_helper_test.py b/tests/unittests/unit/client/keyboard_helper_test.py index 1a63dcac5b..b538484753 100755 --- a/tests/unittests/unit/client/keyboard_helper_test.py +++ b/tests/unittests/unit/client/keyboard_helper_test.py @@ -73,7 +73,7 @@ def noop(): modifier_names = kh.get_modifier_names() modifiers_used = [modifier_names.get(x, x) for x in kh.shortcut_modifiers] assert kh.key_handled_as_shortcut(window, "F4", modifiers_used, True) - assert not kh.key_handled_as_shortcut(window, "F1", (), True) + assert not kh.key_handled_as_shortcut(window, "F1", [], True) kh.cleanup()