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

From: Brendan Higgins
Date: Tue Dec 14 2021 - 16:44:43 EST


On Tue, Dec 14, 2021 at 2:26 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>

Looks good. Thanks for the rebase!