summary refs log tree commit diff
path: root/tests/replication
diff options
context:
space:
mode:
authorDan Callahan <dan.callahan@gmail.com>2020-10-27 23:26:36 +0000
committerGitHub <noreply@github.com>2020-10-27 23:26:36 +0000
commitaff1eb7c671b0a3813407321d2702ec46c71fa56 (patch)
tree08063039b647245ffb61ed9920b7cdc84105d2f7 /tests/replication
parentMinor updates to docs on how to run tests (#8666) (diff)
downloadsynapse-aff1eb7c671b0a3813407321d2702ec46c71fa56.tar.xz
Tell Black to format code for Python 3.5 (#8664)
This allows trailing commas in multi-line arg lists.

Minor, but we might as well keep our formatting current with regard to
our minimum supported Python version.

Signed-off-by: Dan Callahan <danc@element.io>
Diffstat (limited to 'tests/replication')
-rw-r--r--tests/replication/_base.py2
-rw-r--r--tests/replication/tcp/streams/test_events.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/replication/_base.py b/tests/replication/_base.py
index 093e2faac7..f1e53f33cd 100644
--- a/tests/replication/_base.py
+++ b/tests/replication/_base.py
@@ -269,7 +269,7 @@ class BaseMultiWorkerStreamTestCase(unittest.HomeserverTestCase):
             homeserver_to_use=GenericWorkerServer,
             config=config,
             reactor=self.reactor,
-            **kwargs
+            **kwargs,
         )
 
         # If the instance is in the `instance_map` config then workers may try
diff --git a/tests/replication/tcp/streams/test_events.py b/tests/replication/tcp/streams/test_events.py
index c9998e88e6..bad0df08cf 100644
--- a/tests/replication/tcp/streams/test_events.py
+++ b/tests/replication/tcp/streams/test_events.py
@@ -449,7 +449,7 @@ class EventsStreamTestCase(BaseStreamTestCase):
                 sender=sender,
                 type="test_event",
                 content={"body": body},
-                **kwargs
+                **kwargs,
             )
         )