summaryrefslogtreecommitdiff
path: root/tests/regressiontests/wsgi
diff options
context:
space:
mode:
authorAymeric Augustin <aymeric.augustin@m4x.org>2012-08-14 09:44:04 +0200
committerAymeric Augustin <aymeric.augustin@m4x.org>2012-08-14 10:32:16 +0200
commite04230e2e406dcf74eeec8d3c95c84362c7da780 (patch)
tree1dad5b3893aec2504b4ac6b6911ca9428c7499af /tests/regressiontests/wsgi
parent0df0cf70d43a642393d118523b7efdc04dae6105 (diff)
[py3] Ported django.http according to PEP 3333.
Perfomed some style cleanup while I was in the area.
Diffstat (limited to 'tests/regressiontests/wsgi')
-rw-r--r--tests/regressiontests/wsgi/tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/regressiontests/wsgi/tests.py b/tests/regressiontests/wsgi/tests.py
index a482a5c1eb..5a40bd88e2 100644
--- a/tests/regressiontests/wsgi/tests.py
+++ b/tests/regressiontests/wsgi/tests.py
@@ -40,8 +40,8 @@ class WSGITest(TestCase):
response_data["headers"],
[('Content-Type', 'text/html; charset=utf-8')])
self.assertEqual(
- six.text_type(response),
- "Content-Type: text/html; charset=utf-8\n\nHello World!")
+ bytes(response),
+ b"Content-Type: text/html; charset=utf-8\r\n\r\nHello World!")
class GetInternalWSGIApplicationTest(unittest.TestCase):