diff --git a/tests/indexes/tests.py b/tests/indexes/tests.py index 59cad6cc39..7bc305e596 100644 --- a/tests/indexes/tests.py +++ b/tests/indexes/tests.py @@ -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(