mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Capitalized Unicode in docs, strings, and comments.
This commit is contained in:
committed by
Mariusz Felisiak
parent
3152146e3a
commit
505fec6bad
@@ -73,7 +73,7 @@ class SetCookieTests(SimpleTestCase):
|
||||
self.assertIs(example_cookie['httponly'], True)
|
||||
|
||||
def test_unicode_cookie(self):
|
||||
"""HttpResponse.set_cookie() works with unicode data."""
|
||||
"""HttpResponse.set_cookie() works with Unicode data."""
|
||||
response = HttpResponse()
|
||||
cookie_value = '清風'
|
||||
response.set_cookie('test', cookie_value)
|
||||
|
||||
Reference in New Issue
Block a user