From 4d3d31511651cd78ac73f260812d39d85d55c2be Mon Sep 17 00:00:00 2001 From: Daniele Varrazzo Date: Wed, 28 Jul 2021 15:27:19 +0200 Subject: [PATCH] Skip testing with lists of floats. There might be rounding problems and problems with inf. --- tests/fix_faker.py | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 2.47.3