diff options
author | Jonathan de Jong <jonathan@automatia.nl> | 2021-04-20 12:50:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-20 11:50:49 +0100 |
commit | 495b214f4f8f45d16ffee851c8ab7a380dd0e2b2 (patch) | |
tree | 1aa4d00ca13939808946f994545dd9f136d2d256 /tests/utils.py | |
parent | Port "Allow users to click account renewal links multiple times without hitti... (diff) | |
download | synapse-495b214f4f8f45d16ffee851c8ab7a380dd0e2b2.tar.xz |
Fix (final) Bugbear violations (#9838)
Diffstat (limited to '')
-rw-r--r-- | tests/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/utils.py b/tests/utils.py index af6b32fc66..63d52b9140 100644 --- a/tests/utils.py +++ b/tests/utils.py @@ -303,7 +303,7 @@ def setup_test_homeserver( # database for a few more seconds due to flakiness, preventing # us from dropping it when the test is over. If we can't drop # it, warn and move on. - for x in range(5): + for _ in range(5): try: cur.execute("DROP DATABASE IF EXISTS %s;" % (test_db,)) db_conn.commit() |