From: Daniele Varrazzo Date: Wed, 28 Jul 2021 13:27:19 +0000 (+0200) Subject: Skip testing with lists of floats. X-Git-Tag: 3.0.dev2~26 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4d3d31511651cd78ac73f260812d39d85d55c2be;p=thirdparty%2Fpsycopg.git Skip testing with lists of floats. There might be rounding problems and problems with inf. --- diff --git a/tests/fix_faker.py b/tests/fix_faker.py index 45cccb6aa..d1ad460b5 100644 --- a/tests/fix_faker.py +++ b/tests/fix_faker.py @@ -446,6 +446,11 @@ class Faker: scls = choice(self.types) if scls is cls: continue + if scls is float: + # TODO: float lists are currently adapted as decimal. + # There may be rounding errors or problems with inf. + continue + schema = self.make_schema(scls) if schema is not None: break