From 331a460f8f2e4f447b68fba491464b68c9b21fd1 Mon Sep 17 00:00:00 2001 From: Mariusz Felisiak Date: Thu, 14 Apr 2022 09:53:31 +0200 Subject: Fixed DatabaseFeatures.uses_savepoints/can_release_savepoints and related tests with MyISAM storage engine. --- tests/backends/mysql/test_features.py | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/backends') diff --git a/tests/backends/mysql/test_features.py b/tests/backends/mysql/test_features.py index ec5bd442fb..88e267f048 100644 --- a/tests/backends/mysql/test_features.py +++ b/tests/backends/mysql/test_features.py @@ -11,6 +11,7 @@ class TestFeatures(TestCase): """ All storage engines except MyISAM support transactions. """ + del connection.features.supports_transactions with mock.patch( "django.db.connection.features._mysql_storage_engine", "InnoDB" ): -- cgit v1.3