From: Tony Locke Date: Sun, 11 May 2014 19:58:24 +0000 (+0100) Subject: Add postgresql+pg8000 to floats_to_four_decimals X-Git-Tag: rel_1_0_0b1~404^2~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=996de05ee96b62943efb4bd9495127b40aaba4d5;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git 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. --- 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