mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Refs #33872 -- Removed django.contrib.postgres.fields.CIText/CICharField/CIEmailField/CITextField.
Per deprecation timeline.
This commit is contained in:
@@ -368,13 +368,6 @@ 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):
|
||||
self.assertIn(
|
||||
"::citext", do.lookup_cast(lookup, internal_type=field_type)
|
||||
)
|
||||
|
||||
def test_correct_extraction_psycopg_version(self):
|
||||
from django.db.backends.postgresql.base import Database, psycopg_version
|
||||
|
||||
Reference in New Issue
Block a user