mirror of
https://github.com/django/django.git
synced 2025-07-28 23:54:02 +00:00
Refs #33476 -- Refactored code to strictly match 88 characters line length.
This commit is contained in:
parent
9c19aff7c7
commit
7119f40c98
404 changed files with 5944 additions and 2842 deletions
|
@ -519,7 +519,8 @@ class SchemaTests(PostgreSQLTestCase):
|
|||
msg = "Covering GiST indexes require PostgreSQL 12+."
|
||||
with self.assertRaisesMessage(NotSupportedError, msg):
|
||||
with mock.patch(
|
||||
"django.db.backends.postgresql.features.DatabaseFeatures.supports_covering_gist_indexes",
|
||||
"django.db.backends.postgresql.features.DatabaseFeatures."
|
||||
"supports_covering_gist_indexes",
|
||||
False,
|
||||
):
|
||||
with connection.schema_editor() as editor:
|
||||
|
@ -632,7 +633,8 @@ class SchemaTests(PostgreSQLTestCase):
|
|||
msg = "Covering SP-GiST indexes require PostgreSQL 14+."
|
||||
with self.assertRaisesMessage(NotSupportedError, msg):
|
||||
with mock.patch(
|
||||
"django.db.backends.postgresql.features.DatabaseFeatures.supports_covering_spgist_indexes",
|
||||
"django.db.backends.postgresql.features.DatabaseFeatures."
|
||||
"supports_covering_spgist_indexes",
|
||||
False,
|
||||
):
|
||||
with connection.schema_editor() as editor:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue