summary refs log tree commit diff
path: root/tests/storage
diff options
context:
space:
mode:
authorreivilibre <38398653+reivilibre@users.noreply.github.com>2021-08-02 16:50:22 +0100
committerGitHub <noreply@github.com>2021-08-02 15:50:22 +0000
commitfb086edaeddf8cdb8a03b8564d1b6883ac5cac6e (patch)
tree1d2580d8438f129caa0793ee63bb7b45849fbd4c /tests/storage
parentPrune inbound federation queues if they get too long (#10390) (diff)
downloadsynapse-fb086edaeddf8cdb8a03b8564d1b6883ac5cac6e.tar.xz
Fix codestyle CI from #10440 (#10511)
Co-authored-by: Erik Johnston <erik@matrix.org>
Diffstat (limited to 'tests/storage')
-rw-r--r--tests/storage/test_txn_limit.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/storage/test_txn_limit.py b/tests/storage/test_txn_limit.py
index 9be51f9ebd..6ff3ebb137 100644
--- a/tests/storage/test_txn_limit.py
+++ b/tests/storage/test_txn_limit.py
@@ -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))