]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
Fix unicode syntax for Python 3. 1460/head
authorIan Mackinnon <imackinnon@gmail.com>
Thu, 2 Jul 2015 11:57:04 +0000 (13:57 +0200)
committerIan Mackinnon <imackinnon@gmail.com>
Thu, 2 Jul 2015 11:57:04 +0000 (13:57 +0200)
tornado/test/auth_test.py

index 594d33b61a93c091ec7f76374548d1ad3aad479a..9ea4e00ed0a846727e24cbf076c6b4068a87f981 100644 (file)
@@ -467,8 +467,8 @@ class GoogleOAuth2UserinfoHandler(RequestHandler):
         assert self.get_argument('access_token') == 'fake-access-token'
         # return a fake user
         self.finish({
-                u'name': u'Foo',
-                u'email': u'foo@example.com'
+                'name': 'Foo',
+                'email': 'foo@example.com'
                 })