Fixed typo in DecimalValidator tests.

This replaces redundant test for -Infinity with +Infinity.
This commit is contained in:
Claudio Catterina 2020-07-16 11:21:39 +02:00 committed by GitHub
parent 8fa9a6d29e
commit faa6d41cda
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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',
)
],