]> git.baikalelectronics.ru Git - kernel.git/commit
kunit: tool: Fix a python tuple typing error
authorDavid Gow <davidgow@google.com>
Tue, 23 Feb 2021 05:49:30 +0000 (21:49 -0800)
committerShuah Khan <skhan@linuxfoundation.org>
Thu, 11 Mar 2021 21:37:37 +0000 (14:37 -0700)
commit992d6d13758c70c4c3f9b41f15c5e23abfed821a
treef9a02807b55b5b6268e6f58ee76f52c9b0a41abd
parent219c9076286fd92026e818ab1375558e5b20649f
kunit: tool: Fix a python tuple typing error

The first argument to namedtuple() should match the name of the type,
which wasn't the case for KconfigEntryBase.

Fixing this is enough to make mypy show no python typing errors again.

Fixes 58cf1310a6 ("kunit: kunit_tool: Allow .kunitconfig to disable config items")
Signed-off-by: David Gow <davidgow@google.com>
Reviewed-by: Daniel Latypov <dlatypov@google.com>
Acked-by: Brendan Higgins <brendanhiggins@google.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/kunit/kunit_config.py