If I run pytest I get failures because of a what appears to be due to difference in precision in the time= attribute in the xml
|
<testsuites disabled="0" errors="0" failures="24" tests="65" time="0.019785572146"> |
and a couple of other places.
What's expected
<testsuites disabled="0" errors="0" failures="24" tests="65" time="0.019785572146">
What I get
<testsuites disabled="0" errors="0" failures="24" tests="65" time="0.019785572145999998">
I suspect this is due to different behaviors in the underlying yamlish and PyYAML dependencies on different platforms.
I don't think it's a big deal that floating-point conversion of TAP to JUnit is non-deterministic on different platforms.
But it's regrettable that the tests of tap2junit relies on this deterministic behavior.
I'm going to take a look and see if I can fix this in a suitable manner, meanwhile I report the issue here.
If I run
pytestI get failures because of a what appears to be due to difference in precision in thetime=attribute in the xmltap2junit/test/output/yaml-block.xml
Line 2 in 0601e2d
and a couple of other places.
What's expected
What I get
I suspect this is due to different behaviors in the underlying
yamlishandPyYAMLdependencies on different platforms.I don't think it's a big deal that floating-point conversion of TAP to JUnit is non-deterministic on different platforms.
But it's regrettable that the tests of
tap2junitrelies on this deterministic behavior.I'm going to take a look and see if I can fix this in a suitable manner, meanwhile I report the issue here.