summary refs log tree commit diff
path: root/tests/handlers
diff options
context:
space:
mode:
authorAmber Brown <hawkowl@atleastfornow.net>2018-09-07 02:58:18 +1000
committerGitHub <noreply@github.com>2018-09-07 02:58:18 +1000
commit52ec6e9dfad5e088f000d20cbb4a1bbc8008c00d (patch)
treec146b5df538580374b1412454af34eb99faae4ec /tests/handlers
parentMerge pull request #3800 from matrix-org/neilj/remove-guests-from-mau-count (diff)
downloadsynapse-52ec6e9dfad5e088f000d20cbb4a1bbc8008c00d.tar.xz
Port tests/ to Python 3 (#3808)
Diffstat (limited to 'tests/handlers')
-rw-r--r--tests/handlers/test_typing.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/handlers/test_typing.py b/tests/handlers/test_typing.py
index c2d951b45f..36e136cded 100644
--- a/tests/handlers/test_typing.py
+++ b/tests/handlers/test_typing.py
@@ -43,9 +43,7 @@ def _expect_edu_transaction(edu_type, content, origin="test"):
 
 
 def _make_edu_transaction_json(edu_type, content):
-    return json.dumps(_expect_edu_transaction(edu_type, content)).encode(
-        'utf8'
-    )
+    return json.dumps(_expect_edu_transaction(edu_type, content)).encode('utf8')
 
 
 class TypingNotificationsTestCase(unittest.TestCase):