From 1bdfde085763a0aae0fb07a904ca784e067b6703 Mon Sep 17 00:00:00 2001
From: Mariusz Felisiak <felisiak.mariusz@gmail.com>
Date: Tue, 12 Apr 2022 15:53:27 +0200
Subject: [PATCH] Fixed typo in
 SchemaIndexesMySQLTests.test_no_index_for_foreignkey().

---
 tests/indexes/tests.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/indexes/tests.py b/tests/indexes/tests.py
index 59cad6cc390..7bc305e596d 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(