We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5a3402 commit d3e6d16Copy full SHA for d3e6d16
tagging/tests/tests.py
@@ -355,12 +355,12 @@ def test_update_tags_exotic_characters(self):
355
self.assertEqual(tags[0].name, '你好')
356
357
def test_unicode_tagged_object(self):
358
- self.dead_parrot.state = u"dëad"
+ self.dead_parrot.state = "dëad"
359
self.dead_parrot.save()
360
- Tag.objects.update_tags(self.dead_parrot, u'föo')
+ Tag.objects.update_tags(self.dead_parrot, 'föo')
361
items = TaggedItem.objects.all()
362
self.assertEqual(len(items), 1)
363
- self.assertEqual(six.text_type(items[0]), u"dëad [föo]")
+ self.assertEqual(six.text_type(items[0]), "dëad [föo]")
364
365
def test_update_tags_with_none(self):
366
# start off in a known, mildly interesting state
0 commit comments