mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-19 01:07:49 -04:00
Fix (final) Bugbear violations (#9838)
This commit is contained in:
parent
71f0623de9
commit
495b214f4f
23 changed files with 46 additions and 49 deletions
|
@ -38,12 +38,12 @@ class ExtremStatisticsTestCase(HomeserverTestCase):
|
|||
last_event = None
|
||||
|
||||
# Make a real event chain
|
||||
for i in range(event_count):
|
||||
for _ in range(event_count):
|
||||
ev = self.create_and_send_event(room_id, user, False, last_event)
|
||||
last_event = [ev]
|
||||
|
||||
# Sprinkle in some extremities
|
||||
for i in range(extrems):
|
||||
for _ in range(extrems):
|
||||
ev = self.create_and_send_event(room_id, user, False, last_event)
|
||||
|
||||
# Let it run for a while, then pull out the statistics from the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue