From bfe9665502c77baf14ce6cf52af974033bd43164 Mon Sep 17 00:00:00 2001 From: Mariusz Felisiak Date: Wed, 6 Apr 2022 16:52:13 +0200 Subject: [PATCH] Skipped SchemaTests.test_alter_field_type_and_db_collation on databases that don't support collation on TextField. --- tests/schema/tests.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/schema/tests.py b/tests/schema/tests.py index fcc090aaf2..fa59a3e0b1 100644 --- a/tests/schema/tests.py +++ b/tests/schema/tests.py @@ -4579,7 +4579,9 @@ class SchemaTests(TransactionTestCase): editor.alter_field(Author, new_field, old_field, strict=True) self.assertIsNone(self.get_column_collation(Author._meta.db_table, "name")) - @skipUnlessDBFeature("supports_collation_on_charfield") + @skipUnlessDBFeature( + "supports_collation_on_charfield", "supports_collation_on_textfield" + ) def test_alter_field_type_and_db_collation(self): collation = connection.features.test_collations.get("non_default") if not collation: