sc/qa/uitest/statistics/descriptiveStatistics.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 7091a5416e6e1d5ff8c3b40646de30fe1458db24 Author: Rene Engelhard <r...@rene-engelhard.de> AuthorDate: Thu Dec 23 16:42:21 2021 +0100 Commit: René Engelhard <r...@debian.org> CommitDate: Thu Jul 28 10:20:45 2022 +0200 work around rounding difference on i386 in descriptiveStatistics test No idea why this only appears now, but: ====================================================================== FAIL: test_descriptive_statistics (descriptiveStatistics.descriptiveStatistics) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/rene/tmp/autopkgtest-lxc.4j23khs6/downtmp/build.zIT/src/sc/qa/uitest/statistics/descriptiveStatistics.py", line 108, in te st_descriptive_statistics self.assertEqual(round(get_cell_by_position(document, 0, 6, 10).getValue(),14) , 0.01524095329036) AssertionError: 0.01524095329035 != 0.01524095329036 Change-Id: I496daf61a9542ea0da78e6092dd7070a2665ab0a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127363 Tested-by: René Engelhard <r...@debian.org> Tested-by: Jenkins Reviewed-by: Eike Rathke <er...@redhat.com> diff --git a/sc/qa/uitest/statistics/descriptiveStatistics.py b/sc/qa/uitest/statistics/descriptiveStatistics.py index 8241089fc710..48a15e641141 100644 --- a/sc/qa/uitest/statistics/descriptiveStatistics.py +++ b/sc/qa/uitest/statistics/descriptiveStatistics.py @@ -104,7 +104,7 @@ class descriptiveStatistics(UITestCase): self.assertEqual(round(get_cell_by_position(document, 0, 6, 7).getValue(),11) , 139.49090909091) self.assertEqual(round(get_cell_by_position(document, 0, 6, 8).getValue(),12) , 11.810626955878) self.assertEqual(round(get_cell_by_position(document, 0, 6, 9).getValue(),13) , -1.4621677980825) - self.assertEqual(round(get_cell_by_position(document, 0, 6, 10).getValue(),14) , 0.01524095329036) + self.assertEqual(round(get_cell_by_position(document, 0, 6, 10).getValue(),13) , 0.0152409532904) self.assertEqual(get_cell_by_position(document, 0, 6, 11).getValue() , 31) self.assertEqual(get_cell_by_position(document, 0, 6, 12).getValue() , 26) self.assertEqual(get_cell_by_position(document, 0, 6, 13).getValue() , 57)