From faa6d41cdacfa3910ea2bb9278d1c9a4366cb9b4 Mon Sep 17 00:00:00 2001 From: Claudio Catterina Date: Thu, 16 Jul 2020 11:21:39 +0200 Subject: [PATCH] Fixed typo in DecimalValidator tests. This replaces redundant test for -Infinity with +Infinity. --- tests/validators/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/validators/tests.py b/tests/validators/tests.py index c94ec251d6..d6d013c026 100644 --- a/tests/validators/tests.py +++ b/tests/validators/tests.py @@ -284,7 +284,7 @@ TEST_DATA = [ (DecimalValidator(decimal_places=2, max_digits=10), Decimal(value), ValidationError) for value in ( 'NaN', '-NaN', '+NaN', 'sNaN', '-sNaN', '+sNaN', - 'Inf', '-Inf', '+Inf', 'Infinity', '-Infinity', '-Infinity', + 'Inf', '-Inf', '+Inf', 'Infinity', '-Infinity', '+Infinity', ) ],