mirror of https://github.com/django/django.git
Skipped SchemaTests.test_alter_field_type_and_db_collation on databases that don't support collation on TextField.
This commit is contained in:
parent
65effbdb10
commit
bfe9665502
|
@ -4579,7 +4579,9 @@ class SchemaTests(TransactionTestCase):
|
||||||
editor.alter_field(Author, new_field, old_field, strict=True)
|
editor.alter_field(Author, new_field, old_field, strict=True)
|
||||||
self.assertIsNone(self.get_column_collation(Author._meta.db_table, "name"))
|
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):
|
def test_alter_field_type_and_db_collation(self):
|
||||||
collation = connection.features.test_collations.get("non_default")
|
collation = connection.features.test_collations.get("non_default")
|
||||||
if not collation:
|
if not collation:
|
||||||
|
|
Loading…
Reference in New Issue