summaryrefslogtreecommitdiff
path: root/tests/invalid_models_tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests/invalid_models_tests')
-rw-r--r--tests/invalid_models_tests/test_models.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/invalid_models_tests/test_models.py b/tests/invalid_models_tests/test_models.py
index fe3c812615..679afa3dc6 100644
--- a/tests/invalid_models_tests/test_models.py
+++ b/tests/invalid_models_tests/test_models.py
@@ -2891,8 +2891,8 @@ class ConstraintsTests(TestCase):
]
warn = Warning(
- f"{connection.display_name} does not support unique constraints with nulls "
- "distinct.",
+ f"{connection.display_name} does not support "
+ "UniqueConstraint.nulls_distinct.",
hint=(
"A constraint won't be created. Silence this warning if you don't care "
"about it."