2.6 compatible set syntax

main
Travis Johnson 10 years ago
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…
Cancel
Save