mirror of https://github.com/rq/rq.git
2.6 compatible set syntax
This commit is contained in:
parent
0ad4cb3410
commit
6ef9177a7d
|
@ -325,5 +325,5 @@ class TestWorker(RQTestCase):
|
|||
w1 = Worker([q], name="worker1")
|
||||
w2 = Worker([q], name="worker2")
|
||||
w3 = Worker([q], name="worker1")
|
||||
worker_set = {w1, w2, w3}
|
||||
worker_set = set([w1, w2, w3])
|
||||
self.assertEquals(len(worker_set), 2)
|
||||
|
|
Loading…
Reference in New Issue