odoo issueshttps://git.vauxoo.com/vauxoo/odoo/-/issues2017-05-20T19:47:12Zhttps://git.vauxoo.com/vauxoo/odoo/-/issues/96[FIX] stock_account: Flaky test due to Float Point inacuracy2017-05-20T19:47:12ZTulio Ruiz[FIX] stock_account: Flaky test due to Float Point inacuracy*Created by: nhomar*
When run tests mixing some environment variables line Postgres 9.5.2 and Python 2.7.11+ (Ubuntu 16.04) and or Python 2.7.9 (Debian Jessie) this tests was giving different results because the tests is not using float...*Created by: nhomar*
When run tests mixing some environment variables line Postgres 9.5.2 and Python 2.7.11+ (Ubuntu 16.04) and or Python 2.7.9 (Debian Jessie) this tests was giving different results because the tests is not using float_compare as it should.
Even if the method is correctly done the comparition in the test is incorrect.
![](http://screenshots.vauxoo.com/oem/561ca9-939x588.png)
[More information about Float Point inacuracy](http://stackoverflow.com/questions/7878341/python-dictionary-floats)