summary refs log tree commit diff
path: root/tests/unittest.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unittest.py')
-rw-r--r--tests/unittest.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/unittest.py b/tests/unittest.py
index 8c7979a7c0..3e656b7b12 100644
--- a/tests/unittest.py
+++ b/tests/unittest.py
@@ -429,9 +429,6 @@ class HomeserverTestCase(TestCase):
         Returns:
             Tuple[synapse.http.site.SynapseRequest, channel]
         """
-        if isinstance(content, dict):
-            content = json.dumps(content).encode("utf8")
-
         return make_request(
             self.reactor,
             self.site,