From def6755935c33dad5dbd5c9c5c3813a15eac7970 Mon Sep 17 00:00:00 2001 From: ikkemaniac Date: Sat, 20 Jun 2020 23:02:13 +0200 Subject: [PATCH] replace while for for --- tests/test_updater.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_updater.py b/tests/test_updater.py index dd3626b8c..c5992395d 100644 --- a/tests/test_updater.py +++ b/tests/test_updater.py @@ -368,7 +368,7 @@ class TestUpdater: # update_id's 1, 2 and 3 i = 1 updates = [] - while i < (expected_id): + for i in range(1, expected_id): updates.append(FakeUpdate(i)) i += 1 return updates