diff options
author | Claudio Catterina <catterina.claudio@gmail.com> | 2020-07-16 11:21:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-16 11:21:39 +0200 |
commit | faa6d41cdacfa3910ea2bb9278d1c9a4366cb9b4 (patch) | |
tree | 66e0b425c40ead1a7809626bd0eb8d29491a4161 /tests/validators | |
parent | 8fa9a6d29efe2622872b4788190ea7c1bcb92019 (diff) | |
download | django-faa6d41cdacfa3910ea2bb9278d1c9a4366cb9b4.tar.gz |
Fixed typo in DecimalValidator tests.
This replaces redundant test for -Infinity with +Infinity.
Diffstat (limited to 'tests/validators')
-rw-r--r-- | tests/validators/tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
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', ) ], |