1
0
mirror of https://github.com/django/django.git synced 2024-12-22 17:16:24 +00:00

Fixed typo in SchemaIndexesMySQLTests.test_no_index_for_foreignkey().

This commit is contained in:
Mariusz Felisiak 2022-04-12 15:53:27 +02:00
parent a65547c04a
commit 1bdfde0857

View File

@ -336,7 +336,7 @@ class SchemaIndexesMySQLTests(TransactionTestCase):
ArticleTranslation._meta.db_table,
)
if storage != "InnoDB":
self.skip("This test only applies to the InnoDB storage engine")
self.skipTest("This test only applies to the InnoDB storage engine")
index_sql = [
str(statement)
for statement in connection.schema_editor()._model_indexes_sql(