2.6 compatible set syntax

This commit is contained in:
Travis Johnson 2014-12-09 11:13:56 -05:00
parent 0ad4cb3410
commit 6ef9177a7d
1 changed files with 1 additions and 1 deletions

View File

@ -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)