diff options
| author | Fabio Bonelli <fb@fabiobonelli.it> | 2018-01-10 19:06:47 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2018-01-10 20:30:44 -0500 |
| commit | c886f3dee33adc9f94332b4133a37960e985e273 (patch) | |
| tree | bca9c7c35568ba96d6434bdfea93334204abd97d /tests/forms_tests | |
| parent | 1c95737ebebb9fe1b59e9de08d4e8cd7226de00d (diff) | |
Fixed #29006 -- Fixed DecimalField.clean() crash on sNaN values.
Diffstat (limited to 'tests/forms_tests')
| -rw-r--r-- | tests/forms_tests/field_tests/test_decimalfield.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/forms_tests/field_tests/test_decimalfield.py b/tests/forms_tests/field_tests/test_decimalfield.py index 35a404608c..4e1828d53d 100644 --- a/tests/forms_tests/field_tests/test_decimalfield.py +++ b/tests/forms_tests/field_tests/test_decimalfield.py @@ -51,6 +51,7 @@ class DecimalFieldTest(FormFieldAssertionsMixin, SimpleTestCase): f = DecimalField(max_digits=4, decimal_places=2) values = ( '-NaN', 'NaN', '+NaN', + '-sNaN', 'sNaN', '+sNaN', '-Inf', 'Inf', '+Inf', '-Infinity', 'Infinity', '+Infinity', 'a', 'łąść', '1.0a', '--0.12', |
