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:03 -0500 |
| commit | 039465a6a7a18f48ea77ceadb6949990c0ec92e1 (patch) | |
| tree | cba4538131d680c040535e9ffe3af7c1db034655 /tests/forms_tests | |
| parent | dccf41cff0f46a94aa1d853d1bad9052079bb454 (diff) | |
Fixed typos in code comments.
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 5599ec6ccf..ababa689de 100644 --- a/tests/forms_tests/tests/test_extra.py +++ b/tests/forms_tests/tests/test_extra.py @@ -389,7 +389,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 d04001b6b2..003df1c3a2 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) |
