diff options
author | Tim Graham <timograham@gmail.com> | 2017-03-17 07:51:48 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-17 07:51:48 -0400 |
commit | 6b4f018b2b3478d2a4a441ed52d43f6268ac89f3 (patch) | |
tree | 21a1573a6d8a1e7ee8554adc318174ffda0bf8bd /tests/handlers | |
parent | e32265de1a68361ea078f49877ccb0f742508728 (diff) | |
download | django-6b4f018b2b3478d2a4a441ed52d43f6268ac89f3.tar.gz |
Replaced type-specific assertions with assertEqual().
Python docs say, "it's usually not necessary to invoke these methods directly."
Diffstat (limited to 'tests/handlers')
-rw-r--r-- | tests/handlers/tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/handlers/tests.py b/tests/handlers/tests.py index ae387c9f46..167faadb02 100644 --- a/tests/handlers/tests.py +++ b/tests/handlers/tests.py @@ -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).""" |