diff options
author | Jonathan de Jong <jonathan@automatia.nl> | 2021-07-13 12:43:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-13 11:43:15 +0100 |
commit | 89cfc3dd9849b0580146151098ad039a7680c63f (patch) | |
tree | 97929d72b833ddd8e18070071a7b0bac7e969067 /tests/replication/test_sharded_event_persister.py | |
parent | Fix federation inbound age metric. (#10355) (diff) | |
download | synapse-89cfc3dd9849b0580146151098ad039a7680c63f.tar.xz |
[pyupgrade] `tests/` (#10347)
Diffstat (limited to 'tests/replication/test_sharded_event_persister.py')
-rw-r--r-- | tests/replication/test_sharded_event_persister.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/replication/test_sharded_event_persister.py b/tests/replication/test_sharded_event_persister.py index 5eca5c165d..f3615af97e 100644 --- a/tests/replication/test_sharded_event_persister.py +++ b/tests/replication/test_sharded_event_persister.py @@ -211,7 +211,7 @@ class EventPersisterShardTestCase(BaseMultiWorkerStreamTestCase): self.reactor, sync_hs_site, "GET", - "/sync?since={}".format(next_batch), + f"/sync?since={next_batch}", access_token=access_token, ) @@ -241,7 +241,7 @@ class EventPersisterShardTestCase(BaseMultiWorkerStreamTestCase): self.reactor, sync_hs_site, "GET", - "/sync?since={}".format(vector_clock_token), + f"/sync?since={vector_clock_token}", access_token=access_token, ) @@ -266,7 +266,7 @@ class EventPersisterShardTestCase(BaseMultiWorkerStreamTestCase): self.reactor, sync_hs_site, "GET", - "/sync?since={}".format(next_batch), + f"/sync?since={next_batch}", access_token=access_token, ) |