Commit 5dac3791 by idan

python 3.2 compatability

parent df6551f6
...@@ -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': set(['2', '4']), 'orange': set(['2', '4']),
u'apple': set(['1', '2']) '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