Fix pytest junitxml output processing for make check
Not every element tagged skipped
in the JUnitXML tree has to contain
the type
attribute. An example of that is a test that results in
xpass.
Closes #4401 (closed)
See https://github.com/pytest-dev/pytest/blob/23906106968eb95afbd61adfbc7bbb795fc9aaa9/src/_pytest/junitxml.py#L199 for an example of a skipped
node being created without the type
value.
Edited by Nicki Křížek