summaryrefslogtreecommitdiff
path: root/tests/test_client_regress
diff options
context:
space:
mode:
authorcoagulant <baryshev@gmail.com>2013-11-03 01:02:56 +0400
committerJason Myers <jason@jasonamyers.com>2013-11-02 23:50:33 -0500
commit8eec2d93b6e93b8a1107fb3de2acd68d6994d6ec (patch)
treedee448f4b73c925b10871f4fbe7d601f5feb576b /tests/test_client_regress
parentc3791463a5a9674f8e0148fbab57eae23c138896 (diff)
Fixed all E261 warnings
Diffstat (limited to 'tests/test_client_regress')
-rw-r--r--tests/test_client_regress/tests.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_client_regress/tests.py b/tests/test_client_regress/tests.py
index 83d6a0097e..04fa734ddc 100644
--- a/tests/test_client_regress/tests.py
+++ b/tests/test_client_regress/tests.py
@@ -122,14 +122,14 @@ class AssertContainsTests(TestCase):
def test_unicode_contains(self):
"Unicode characters can be found in template context"
- #Regression test for #10183
+ # Regression test for #10183
r = self.client.get('/test_client_regress/check_unicode/')
self.assertContains(r, 'さかき')
self.assertContains(r, b'\xe5\xb3\xa0'.decode('utf-8'))
def test_unicode_not_contains(self):
"Unicode characters can be searched for, and not found in template context"
- #Regression test for #10183
+ # Regression test for #10183
r = self.client.get('/test_client_regress/check_unicode/')
self.assertNotContains(r, 'はたけ')
self.assertNotContains(r, b'\xe3\x81\xaf\xe3\x81\x9f\xe3\x81\x91'.decode('utf-8'))
@@ -1204,7 +1204,7 @@ class UnicodePayloadTests(TestCase):
def test_unicode_payload_non_utf(self):
"A non-ASCII unicode data as a non-UTF based encoding can be POSTed"
- #Regression test for #10571
+ # Regression test for #10571
json = '{"dog": "собака"}'
response = self.client.post("/test_client_regress/parse_unicode_json/", json,
content_type="application/json; charset=koi8-r")