summaryrefslogtreecommitdiff
path: root/tests/backends/sqlite/tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/backends/sqlite/tests.py')
-rw-r--r--tests/backends/sqlite/tests.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/backends/sqlite/tests.py b/tests/backends/sqlite/tests.py
index 46122dc38b..c5b9569eac 100644
--- a/tests/backends/sqlite/tests.py
+++ b/tests/backends/sqlite/tests.py
@@ -121,8 +121,8 @@ class SchemaTests(TransactionTestCase):
new_field.set_attributes_from_name('renamed')
msg = (
"Renaming the 'backends_author'.'name' column while in a "
- "transaction is not supported on SQLite because it would break "
- "referential integrity. Try adding `atomic = False` to the "
+ "transaction is not supported on SQLite < 3.26 because it would "
+ "break referential integrity. Try adding `atomic = False` to the "
"Migration class."
)
with self.assertRaisesMessage(NotSupportedError, msg):
@@ -136,7 +136,7 @@ class SchemaTests(TransactionTestCase):
"""
msg = (
"Renaming the 'backends_author' table while in a transaction is "
- "not supported on SQLite because it would break referential "
+ "not supported on SQLite < 3.26 because it would break referential "
"integrity. Try adding `atomic = False` to the Migration class."
)
with self.assertRaisesMessage(NotSupportedError, msg):