diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2023-09-08 11:24:36 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-08 11:24:36 -0400 |
commit | aa483cb4c905bbe483ffe8e8a8f439655a57481b (patch) | |
tree | 4c361dd18b1731e371e55975350d408ddfa96efe /tests/util/caches | |
parent | Log values at DEBUG level with execute_values (#16281) (diff) | |
download | synapse-aa483cb4c905bbe483ffe8e8a8f439655a57481b.tar.xz |
Update ruff config (#16283)
Enable additional checks & clean-up unneeded configuration.
Diffstat (limited to 'tests/util/caches')
-rw-r--r-- | tests/util/caches/test_descriptors.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/util/caches/test_descriptors.py b/tests/util/caches/test_descriptors.py index 064f4987df..168419f440 100644 --- a/tests/util/caches/test_descriptors.py +++ b/tests/util/caches/test_descriptors.py @@ -623,14 +623,14 @@ class CacheDecoratorTestCase(unittest.HomeserverTestCase): a = A() - for k in range(0, 12): + for k in range(12): yield a.func(k) self.assertEqual(callcount[0], 12) # There must have been at least 2 evictions, meaning if we calculate # all 12 values again, we must get called at least 2 more times - for k in range(0, 12): + for k in range(12): yield a.func(k) self.assertTrue( |