diff options
| author | Benjamin Tissoires <bentiss@kernel.org> | 2023-12-06 11:46:05 +0100 |
|---|---|---|
| committer | Benjamin Tissoires <bentiss@kernel.org> | 2023-12-07 09:52:04 +0100 |
| commit | ed5bc56cedca19ac429533aa527bce5287ab0a5a (patch) | |
| tree | 03d358fbf1c971cb072be79d1ebfdffeca4ee48f /tools/testing/selftests/hid/tests/base.py | |
| parent | ab9b82909e9baa5b559d6457487525cfd4df2738 (diff) | |
selftests/hid: fix mypy complains
No code change, only typing information added/ignored
Acked-by: Jiri Kosina <jkosina@suse.com>
Link: https://lore.kernel.org/r/20231206-wip-selftests-v2-14-c0350c2f5986@kernel.org
Signed-off-by: Benjamin Tissoires <bentiss@kernel.org>
Diffstat (limited to 'tools/testing/selftests/hid/tests/base.py')
| -rw-r--r-- | tools/testing/selftests/hid/tests/base.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/testing/selftests/hid/tests/base.py b/tools/testing/selftests/hid/tests/base.py index 5d9c26dfc460..51433063b227 100644 --- a/tools/testing/selftests/hid/tests/base.py +++ b/tools/testing/selftests/hid/tests/base.py @@ -14,7 +14,7 @@ import logging from hidtools.device.base_device import BaseDevice, EvdevMatch, SysfsFile from pathlib import Path -from typing import Final +from typing import Final, List, Tuple logger = logging.getLogger("hidtools.test.base") @@ -155,7 +155,7 @@ class BaseTestCase: # if any module is not available (not compiled), the test will skip. # Each element is a tuple '(kernel driver name, kernel module)', # for example ("playstation", "hid-playstation") - kernel_modules = [] + kernel_modules: List[Tuple[str, str]] = [] def assertInputEventsIn(self, expected_events, effective_events): effective_events = effective_events.copy() |
