You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Tests fail because of non-deterministic floating-point precision #62
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.
Activity
cclauss commentedon Sep 25, 2024
Is this related to:
CervEdin commentedon Sep 25, 2024
@cclauss thanks
Could be, maybe this division by
1000is the cause for different precision in the floating point numberdf57e72#r962286153
🤔
CervEdin commentedon Sep 25, 2024
Actually I think this is the culprit
https://github.com/kyrus/python-junit-xml/blob/4bd08a272f059998cedf9b7779f944d49eba13a6/junit_xml/__init__.py#L135
all of the differences are regarding the time of the
testsuiteelement