From 415a36947cb4b8b61230698e13cca2df9400e245 Mon Sep 17 00:00:00 2001 From: Simon Charette Date: Thu, 18 Jul 2013 22:01:51 -0400 Subject: Fixed #20765 -- Set small values of `step` using exponential notation. Browsers parse small factors of 10 as 0 under decimal notation. Thanks to Trac alias matklad for the report and Claude Paroz for the review. --- tests/model_formsets/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/model_formsets') diff --git a/tests/model_formsets/tests.py b/tests/model_formsets/tests.py index 09a3ba1778..4411bbf59a 100644 --- a/tests/model_formsets/tests.py +++ b/tests/model_formsets/tests.py @@ -576,7 +576,7 @@ class ModelFormsetTest(TestCase): formset = AuthorBooksFormSet2(instance=author) self.assertEqual(len(formset.forms), 1) self.assertHTMLEqual(formset.forms[0].as_p(), - '

\n' + '

\n' '

') data = { -- cgit v1.3