Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
pgsql12 tests: Floating point comparison precision.
- Loading branch information
Showing
with
1 addition
and
1 deletion.
-
+1
−1
tests/src/python/test_provider_postgres.py
|
@@ -907,7 +907,7 @@ def testPktCompositeFloat(self): |
|
|
gotten_attrs = [f4['pk1'], f4['pk2'], f4['pk3'], f4['value']] |
|
|
self.assertEqual(gotten_attrs[0], expected_attrs[0]) |
|
|
self.assertEqual(gotten_attrs[1], expected_attrs[1]) |
|
|
self.assertAlmostEqual(gotten_attrs[2], expected_attrs[2]) |
|
|
self.assertAlmostEqual(gotten_attrs[2], expected_attrs[2], places=4) |
|
|
self.assertEqual(gotten_attrs[3], expected_attrs[3]) |
|
|
|
|
|
# Finally, let's delete one of the features. |
|
|