diff options
| author | Adam Taylor <ataylor32@gmail.com> | 2015-01-20 07:54:12 -0700 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-01-20 12:18:29 -0500 |
| commit | 45aaced91e4789c3a08b17f0908010923361dbec (patch) | |
| tree | f15fcd7d2a029c173f402083b51d7419b0031008 /tests/forms_tests | |
| parent | 90d9bf5ba46f806e7d4a7d19023f8d19028c4a27 (diff) | |
[1.8.x] Fixed typos in code comments.
Backport of 039465a6a7a18f48ea77ceadb6949990c0ec92e1 from master
Diffstat (limited to 'tests/forms_tests')
| -rw-r--r-- | tests/forms_tests/tests/test_extra.py | 2 | ||||
| -rw-r--r-- | tests/forms_tests/tests/test_fields.py | 2 | ||||
| -rw-r--r-- | tests/forms_tests/tests/test_formsets.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/forms_tests/tests/test_extra.py b/tests/forms_tests/tests/test_extra.py index d172e17cd9..32f7e8cc04 100644 --- a/tests/forms_tests/tests/test_extra.py +++ b/tests/forms_tests/tests/test_extra.py @@ -390,7 +390,7 @@ class FormsExtraTestCase(TestCase, AssertFormErrorsMixin): # MultiWidget and MultiValueField ############################################# # MultiWidgets are widgets composed of other widgets. They are usually # combined with MultiValueFields - a field that is composed of other fields. - # MulitWidgets can themselved be composed of other MultiWidgets. + # MulitWidgets can themselves be composed of other MultiWidgets. # SplitDateTimeWidget is one example of a MultiWidget. class ComplexMultiWidget(MultiWidget): diff --git a/tests/forms_tests/tests/test_fields.py b/tests/forms_tests/tests/test_fields.py index ea6e842475..c711360a50 100644 --- a/tests/forms_tests/tests/test_fields.py +++ b/tests/forms_tests/tests/test_fields.py @@ -1026,7 +1026,7 @@ class FieldsTests(SimpleTestCase): def test_typedchoicefield_4(self): # Even more weirdness: if you have a valid choice but your coercion function - # can't coerce, yo'll still get a validation error. Don't do this! + # can't coerce, you'll still get a validation error. Don't do this! f = TypedChoiceField(choices=[('A', 'A'), ('B', 'B')], coerce=int) self.assertRaisesMessage(ValidationError, "'Select a valid choice. B is not one of the available choices.'", f.clean, 'B') # Required fields require values diff --git a/tests/forms_tests/tests/test_formsets.py b/tests/forms_tests/tests/test_formsets.py index 94e27044ff..276bf1cb22 100644 --- a/tests/forms_tests/tests/test_formsets.py +++ b/tests/forms_tests/tests/test_formsets.py @@ -893,7 +893,7 @@ class FormsFormsetTestCase(TestCase): except IndexError: pass - # Formets can override the default iteration order + # Formsets can override the default iteration order class BaseReverseFormSet(BaseFormSet): def __iter__(self): return reversed(self.forms) |
