diff --git a/tests/regressiontests/string_lookup/models.py b/tests/regressiontests/string_lookup/models.py index 658279a068..8654352480 100644 --- a/tests/regressiontests/string_lookup/models.py +++ b/tests/regressiontests/string_lookup/models.py @@ -76,4 +76,8 @@ __test__ = {'API_TESTS': ur""" >>> fx.save() >>> Foo.objects.get(viking__contains=u'\xf3') + +# We can also do the above query using UTF-8 strings. +>>> Foo.objects.get(viking__contains='\xc3\xb3') + """}