summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/regressiontests/string_lookup/models.py4
1 files changed, 4 insertions, 0 deletions
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')
<Foo: Foo Bjorn>
+
+# We can also do the above query using UTF-8 strings.
+>>> Foo.objects.get(viking__contains='\xc3\xb3')
+<Foo: Foo Bjorn>
"""}