mirror of
https://github.com/django/django.git
synced 2025-08-03 10:34:04 +00:00
Fixed #33872 -- Deprecated django.contrib.postgres.fields.CIText/CICharField/CIEmailField/CITextField.
This commit is contained in:
parent
09e837c5d9
commit
cb791a2540
15 changed files with 228 additions and 21 deletions
|
@ -283,6 +283,7 @@ class Tests(TestCase):
|
|||
for lookup in lookups:
|
||||
with self.subTest(lookup=lookup):
|
||||
self.assertIn("::text", do.lookup_cast(lookup))
|
||||
# RemovedInDjango51Warning.
|
||||
for lookup in lookups:
|
||||
for field_type in ("CICharField", "CIEmailField", "CITextField"):
|
||||
with self.subTest(lookup=lookup, field_type=field_type):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue