From 60c27d5a2768a34a42f19ab92f3278bcf17e468d Mon Sep 17 00:00:00 2001 From: Jonathan Tushman Date: Mon, 15 Dec 2014 10:35:19 -0500 Subject: [PATCH] fixing xrange for python3 compatability --- tests/test_worker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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])