summaryrefslogtreecommitdiff
path: root/tests/postgres_tests/test_indexes.py
diff options
context:
space:
mode:
authorNick Pope <nick@nickpope.me.uk>2021-07-23 16:26:04 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2021-10-01 09:46:36 +0200
commit000d4302341f49f2ec5f219d94d5dddac1a2acf5 (patch)
tree6704188ace15042dd7ca3ede5cf7b9a5e4ac5546 /tests/postgres_tests/test_indexes.py
parentdd26362f6312e7ba7b04099b5285d8e1d2900e63 (diff)
Fixed typo in exception message for GiST indexes and exclusion constraints.
Diffstat (limited to 'tests/postgres_tests/test_indexes.py')
-rw-r--r--tests/postgres_tests/test_indexes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/postgres_tests/test_indexes.py b/tests/postgres_tests/test_indexes.py
index f449dbbb76..e5d1bb02bb 100644
--- a/tests/postgres_tests/test_indexes.py
+++ b/tests/postgres_tests/test_indexes.py
@@ -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',