mirror of
https://github.com/django/django.git
synced 2025-09-16 15:35:17 +00:00
Fixed typo in exception message for GiST indexes and exclusion constraints.
This commit is contained in:
parent
dd26362f63
commit
000d430234
4 changed files with 4 additions and 4 deletions
|
@ -430,7 +430,7 @@ class SchemaTests(PostgreSQLTestCase):
|
|||
def test_gist_include_not_supported(self):
|
||||
index_name = 'gist_include_exception'
|
||||
index = GistIndex(fields=['scene'], name=index_name, include=['setting'])
|
||||
msg = 'Covering GiST indexes requires PostgreSQL 12+.'
|
||||
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',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue