Fixed typo in DecimalValidator tests.
This replaces redundant test for -Infinity with +Infinity.
This commit is contained in:
parent
8fa9a6d29e
commit
faa6d41cda
|
@ -284,7 +284,7 @@ TEST_DATA = [
|
||||||
(DecimalValidator(decimal_places=2, max_digits=10), Decimal(value), ValidationError)
|
(DecimalValidator(decimal_places=2, max_digits=10), Decimal(value), ValidationError)
|
||||||
for value in (
|
for value in (
|
||||||
'NaN', '-NaN', '+NaN', 'sNaN', '-sNaN', '+sNaN',
|
'NaN', '-NaN', '+NaN', 'sNaN', '-sNaN', '+sNaN',
|
||||||
'Inf', '-Inf', '+Inf', 'Infinity', '-Infinity', '-Infinity',
|
'Inf', '-Inf', '+Inf', 'Infinity', '-Infinity', '+Infinity',
|
||||||
)
|
)
|
||||||
],
|
],
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue