← Back to team overview

subunit-dev team mailing list archive

"ValueError: err may not be None" - Is my stream invalid?

 

Hi

I'm trying to make some improvements to Tribunal, and I ran into an
issue error that I would like help understanding

The error can be reduced by running:

    tribunal/testdata/emit-tests 2 | subunit-1to2  | subunit2csv

The relevant section of the subunit stream that causes the error is:

    test: test_1
    failure: test_1

and the error is:
    ValueError: err may not be None

Please see https://gist.github.com/garyvdm/6b72ae68a433d9d92eda for
full run output.

Is this because the stream output by emit-tests is invalid, or is this
a bug in subunit? I'm assuming the former, but I would like to check.

Thanks,

Gary