Commit df6551f6 by idan

more py 2.6 compliance

parent eaa69d18
...@@ -351,8 +351,8 @@ class TaggableManagerTestCase(BaseTaggingTestCase): ...@@ -351,8 +351,8 @@ class TaggableManagerTestCase(BaseTaggingTestCase):
with self.assertNumQueries(0): with self.assertNumQueries(0):
foods = dict((f.name, set(t.name for t in f.tags.all())) for f in l) foods = dict((f.name, set(t.name for t in f.tags.all())) for f in l)
self.assertEqual(foods, { self.assertEqual(foods, {
u'orange': {'2', '4'}, u'orange': set(['2', '4']),
u'apple': {'1', '2'} u'apple': set(['1', '2'])
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment