kunit: tool: remove redundant file.close() call in unit test
authorDaniel Latypov <dlatypov@google.com>
Thu, 3 Nov 2022 17:47:40 +0000 (10:47 -0700)
committerShuah Khan <skhan@linuxfoundation.org>
Mon, 12 Dec 2022 21:13:47 +0000 (14:13 -0700)
commit101e32a025da386ba6f6efbfe3e75b6ec5a358aa
treef361d4699a58ab083070ba4432863129380bbf7a
parent05d9d2c3ee1e4b587f71455f6d3d1493289204ff
kunit: tool: remove redundant file.close() call in unit test

We're using a `with` block above, so the file object is already closed.

Signed-off-by: Daniel Latypov <dlatypov@google.com>
Reviewed-by: David Gow <davidgow@google.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/kunit/kunit_tool_test.py