diff options
author | Daniel Latypov <dlatypov@google.com> | 2023-03-17 01:06:37 +0300 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2023-03-17 21:28:25 +0300 |
commit | 126901ba3499880c9ed033633817cf7493120fda (patch) | |
tree | 6f77442c473e95646670889dffbdcbe94e629077 /tools/testing/kunit/kunit_tool_test.py | |
parent | 695e26030858b27648ca107b77095fed53377b4b (diff) | |
download | linux-126901ba3499880c9ed033633817cf7493120fda.tar.xz |
kunit: tool: remove unused imports and variables
We don't run a linter regularly over kunit.py code (the default settings
on most don't like kernel style, e.g. tabs) so some of these imports
didn't get removed when they stopped being used.
Signed-off-by: Daniel Latypov <dlatypov@google.com>
Reviewed-by: David Gow <davidgow@google.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools/testing/kunit/kunit_tool_test.py')
-rwxr-xr-x | tools/testing/kunit/kunit_tool_test.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/kunit/kunit_tool_test.py b/tools/testing/kunit/kunit_tool_test.py index 0c2190514103..be35999bb84f 100755 --- a/tools/testing/kunit/kunit_tool_test.py +++ b/tools/testing/kunit/kunit_tool_test.py @@ -328,7 +328,7 @@ class KUnitParserTest(unittest.TestCase): def test_parse_subtest_header(self): ktap_log = test_data_path('test_parse_subtest_header.log') with open(ktap_log) as file: - result = kunit_parser.parse_run_tests(file.readlines()) + kunit_parser.parse_run_tests(file.readlines()) self.print_mock.assert_any_call(StrContains('suite (1 subtest)')) def test_show_test_output_on_failure(self): |