Re: [PATCH 2/2] kunit: tool: delete kunit_parser.TestResult type

From: Brendan Higgins
Date: Tue Dec 07 2021 - 17:21:11 EST


On Fri, Oct 8, 2021 at 9:54 PM Daniel Latypov <dlatypov@xxxxxxxxxx> wrote:
>
> The `log` field is unused, and the `status` field is accessible via
> `test.status`.
>
> So it's simpler to just return the main `Test` object directly.
>
> And since we're no longer returning a namedtuple, which has no type
> annotations, this hopefully means typecheckers are better equipped to
> find any errors.
>
> Signed-off-by: Daniel Latypov <dlatypov@xxxxxxxxxx>

Reviewed-by: Brendan Higgins <brendanhiggins@xxxxxxxxxx>