mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
Refs #27795 -- Removed unneeded force_text calls
Thanks Tim Graham for the review.
This commit is contained in:
parent
86de930f41
commit
8346680e1c
42 changed files with 75 additions and 132 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue