Removed unneeded @skipUnlessDBFeature('supports_combined_alters').

The test acts a regression test for 715ccfde24
if the feature is True, but it works on other backends too.
This commit is contained in:
Tim Graham 2021-11-24 03:13:28 -05:00 committed by GitHub
parent 9772eaa6c0
commit ddf321479b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -1045,7 +1045,6 @@ class SchemaTests(TransactionTestCase):
with connection.schema_editor() as editor: with connection.schema_editor() as editor:
editor.alter_field(Note, old_field, new_field, strict=True) editor.alter_field(Note, old_field, new_field, strict=True)
@skipUnlessDBFeature('supports_combined_alters')
def test_alter_null_to_not_null_keeping_default(self): def test_alter_null_to_not_null_keeping_default(self):
""" """
#23738 - Can change a nullable field with default to non-nullable #23738 - Can change a nullable field with default to non-nullable