1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

[2.1.x] Fixed typos in comments and docs.

Backport of 97e637a87f from master
This commit is contained in:
luz.paz
2018-08-01 12:55:53 -04:00
committed by Tim Graham
parent 7da1e45dc5
commit adfd261404
19 changed files with 21 additions and 22 deletions

View File

@@ -733,7 +733,7 @@ class CookieTests(unittest.TestCase):
# Chunks without an equals sign appear as unnamed values per
# https://bugzilla.mozilla.org/show_bug.cgi?id=169091
self.assertIn('django_language', parse_cookie('abc=def; unnamed; django_language=en'))
# Even a double quote may be an unamed value.
# Even a double quote may be an unnamed value.
self.assertEqual(parse_cookie('a=b; "; c=d'), {'a': 'b', '': '"', 'c': 'd'})
# Spaces in names and values, and an equals sign in values.
self.assertEqual(parse_cookie('a b c=d e = f; gh=i'), {'a b c': 'd e = f', 'gh': 'i'})