summaryrefslogtreecommitdiff
path: root/tests/string_lookup
diff options
context:
space:
mode:
authorClaude Paroz <claude@2xlibre.net>2017-03-04 15:47:49 +0100
committerClaude Paroz <claude@2xlibre.net>2017-03-04 18:18:21 +0100
commit8346680e1ca4a8ddc8190baf3f5f944f6418d5cf (patch)
treeed12bc1d1077a65c1b32d410bc267266f6e3e4f9 /tests/string_lookup
parent86de930f413e0ad902e11d78ac988e6743202ea6 (diff)
Refs #27795 -- Removed unneeded force_text calls
Thanks Tim Graham for the review.
Diffstat (limited to 'tests/string_lookup')
-rw-r--r--tests/string_lookup/tests.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/string_lookup/tests.py b/tests/string_lookup/tests.py
index 22b0c6b9cf..a8e39dbb6c 100644
--- a/tests/string_lookup/tests.py
+++ b/tests/string_lookup/tests.py
@@ -51,9 +51,6 @@ class StringLookupTests(TestCase):
fx.save()
self.assertEqual(Foo.objects.get(friend__contains='\xe7'), fx)
- # We can also do the above query using UTF-8 strings.
- self.assertEqual(Foo.objects.get(friend__contains=b'\xc3\xa7'), fx)
-
def test_queries_on_textfields(self):
"""
Regression tests for #5087