mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Refs #27795 -- Removed unneeded force_text calls
Thanks Tim Graham for the review.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user