From 851b0a871d4204bf16a08a9ef8ab1eaacf4fe87b Mon Sep 17 00:00:00 2001 From: Eklavya Sharma Date: Mon, 14 Mar 2016 02:05:13 +0530 Subject: [PATCH] Fix python 3 decode error in zerver/tests.py. Refer to #256. --- zerver/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zerver/tests.py b/zerver/tests.py index 502fb44147..0fab24285c 100644 --- a/zerver/tests.py +++ b/zerver/tests.py @@ -1208,7 +1208,7 @@ class UserPresenceTests(AuthedTestCase): self.assertEqual(split_email_to_domain(email), 'zulip.com') class AlertWordTests(AuthedTestCase): - interesting_alert_word_list = ['alert', 'multi-word word', '☃'.decode("utf-8")] + interesting_alert_word_list = ['alert', 'multi-word word', u'☃'] def test_internal_endpoint(self): email = "cordelia@zulip.com"