From: Olivier Tilloy Date: Mon, 17 Jan 2022 02:12:08 +0000 (+0000) Subject: fix rounding errors that cause autopkgtests to fail on i386 X-Git-Tag: archive/raspbian/1%7.3.0_rc2-3+rpi1~15 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=f3ea093534c45d29d56deac341c5ff1e7c7abe55;p=libreoffice.git fix rounding errors that cause autopkgtests to fail on i386 Gbp-Pq: Name fix-uicheck-tests-on-i386.patch --- diff --git a/sc/qa/uitest/statistics/descriptiveStatistics.py b/sc/qa/uitest/statistics/descriptiveStatistics.py index b0fe011fee6..134f2fbe98e 100644 --- a/sc/qa/uitest/statistics/descriptiveStatistics.py +++ b/sc/qa/uitest/statistics/descriptiveStatistics.py @@ -109,7 +109,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(),11) , 0.01524095329) 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)