Source: ujson Version: 1.33-1 Severity: important Builds of ujson failed on several architectures (including *i386) due to slight differences in floating point values; in one case, the difference isn't even visible!
====================================================================== FAIL: test_decimalDecodeTest (__main__.UltraJSONTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "tests/tests.py", line 93, in test_decimalDecodeTest self.assertNotEqual(sut, decoded) AssertionError: {u'a': 4.56} == {u'a': 4.56} ====================================================================== FAIL: test_decodeFloatingPointAdditionalTests (__main__.UltraJSONTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "tests/tests.py", line 912, in test_decodeFloatingPointAdditionalTests self.assertEquals(-1.7893, ujson.loads("-1.7893")) AssertionError: -1.7893 != -1.7893000000000001 ---------------------------------------------------------------------- Could you please take a look, and arrange to make these tests not quite so sensitive? Thanks! -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org