Code

Ticket #3931: typo-form-doctests.diff

File typo-form-doctests.diff, 633 bytes (added by Jorge Gajon <gajon@…>, 7 years ago)

Typo in doctests of newforms

Line 
1Index: tests/regressiontests/forms/tests.py
2===================================================================
3--- tests/regressiontests/forms/tests.py        (revision 4926)
4+++ tests/regressiontests/forms/tests.py        (working copy)
5@@ -1455,7 +1455,7 @@
6 >>> f.clean('http://www.google.com') # This will fail if there's no Internet connection
7 u'http://www.google.com'
8 
9-EmailField also access min_length and max_length parameters, for convenience.
10+URLField also access min_length and max_length parameters, for convenience.
11 >>> f = URLField(min_length=15, max_length=20)
12 >>> f.clean('http://f.com')
13 Traceback (most recent call last):