From 996de05ee96b62943efb4bd9495127b40aaba4d5 Mon Sep 17 00:00:00 2001 From: Tony Locke Date: Sun, 11 May 2014 20:58:24 +0100 Subject: [PATCH] Add postgresql+pg8000 to floats_to_four_decimals pg8000 uses binary transfer of floats and so accuracy is lost for floats that can't be represented exactly in binary. --- test/requirements.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/test/requirements.py b/test/requirements.py index 8576f2e718..09f9735439 100644 --- a/test/requirements.py +++ b/test/requirements.py @@ -608,8 +608,11 @@ class DefaultRequirements(SuiteRequirements): ), ('mssql+pymssql', None, None, 'mssql+pymssql has FP inaccuracy even with ' - 'only four decimal places ' - ) + 'only four decimal places '), + ( + 'postgresql+pg8000', None, None, + 'postgresql+pg8000 has FP inaccuracy even with ' + 'only four decimal places '), ]) @property -- 2.47.3