Skip to content
Snippets Groups Projects
Unverified Commit fb086eda authored by reivilibre's avatar reivilibre Committed by GitHub
Browse files

Fix codestyle CI from #10440 (#10511)


Co-authored-by: default avatarErik Johnston <erik@matrix.org>
parent 01d45fe9
No related branches found
No related tags found
No related merge requests found
Allow setting transaction limit for database connections.
......@@ -32,5 +32,5 @@ class SQLTransactionLimitTestCase(unittest.HomeserverTestCase):
db_pool = self.hs.get_datastores().databases[0]
# force txn limit to roll over at least once
for i in range(0, 1001):
for _ in range(0, 1001):
self.get_success_or_raise(db_pool.runInteraction("test_select", do_select))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment