diff --git a/tests/test_worker.py b/tests/test_worker.py index fd9d0bd..d3b8f41 100644 --- a/tests/test_worker.py +++ b/tests/test_worker.py @@ -353,7 +353,7 @@ class TestWorker(RQTestCase): def test_suspend_with_duration(self): q = Queue() - for _ in xrange(5): + for _ in range(5): q.enqueue(do_nothing) w = Worker([q])