integration-test.py failure on i386: AssertionError: 40.00000000000001 != 40.0
This was originally filed downstream as https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=105043
After the switch from 0.99.x to 0.19.2, the integration test started failing on i386 with the following error
208s ======================================================================
208s FAIL: test_battery_energy_charge_mixed
(__main__.Tests.test_battery_energy_charge_mixed)
208s battery which reports both current charge and energy
208s ----------------------------------------------------------------------
208s Traceback (most recent call last):
208s File "/usr/libexec/upower/integration-test.py", line 887, in
test_battery_energy_charge_mixed
208s self.assertEqual(self.get_dbus_dev_property(bat0_up,
'Percentage'), 40.0)
208s AssertionError: 40.00000000000001 != 40.0
The full test log can be found at https://ci.debian.net/data/autopkgtest/testing/i386/u/upower/37102682/log.gz