mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Replaced type-specific assertions with assertEqual().
Python docs say, "it's usually not necessary to invoke these methods directly."
This commit is contained in:
@@ -56,7 +56,7 @@ class HandlerTests(SimpleTestCase):
|
||||
request = WSGIRequest(environ)
|
||||
got.append(request.GET['want'])
|
||||
# %E9 is converted to the unicode replacement character by parse_qsl
|
||||
self.assertListEqual(got, ['café', 'café', 'caf\ufffd', 'café'])
|
||||
self.assertEqual(got, ['café', 'café', 'caf\ufffd', 'café'])
|
||||
|
||||
def test_non_ascii_cookie(self):
|
||||
"""Non-ASCII cookies set in JavaScript are properly decoded (#20557)."""
|
||||
|
||||
Reference in New Issue
Block a user