Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=927611 --- Comment #10 from John Morris <john@xxxxxxxxxxx> --- Created attachment 740048 --> https://bugzilla.redhat.com/attachment.cgi?id=740048&action=edit patch to fix rounding errors in %check script Fix rounding-error test failures on Fedora 17-20 (but not el6!) (64-bit only?) Differences of 5*10^-8, as shown in below output, cause tests to fail. Fix by adding new check 'assertFloatListsAlmostEqual' which recursively sorts through lists/tuples and compares floats with 'assertAlmostEqual'. http://docs.python.org/2/library/unittest.html#unittest.TestCase.assertAlmostEqual ====================================================================== FAIL: testAMotorAxes3 (__main__.TestJointParser) ---------------------------------------------------------------------- Traceback (most recent call last): File "tests/test_xode.py", line 594, in testAMotorAxes3 self.assertEqual(ref, axes) AssertionError: Lists differ: [(1.0, 0.0, 0.0), (0.0, 1.0, 0... != [(0.9999999403953552, 0.0, 0.0... First differing element 0: (1.0, 0.0, 0.0) (0.9999999403953552, 0.0, 0.0) - [(1.0, 0.0, 0.0), (0.0, 1.0, 0.0), (0.0, 0.0, 1.0)] + [(0.9999999403953552, 0.0, 0.0), + (0.0, 0.9999999403953552, 0.0), + (0.0, 0.0, 0.9999999403953552)] -- You are receiving this mail because: You are on the CC list for the bug. Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=CtnfjTD4TP&a=cc_unsubscribe _______________________________________________ package-review mailing list package-review@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/package-review