From 795da6306a048b18c0158496b0d49e8e4f197a32 Mon Sep 17 00:00:00 2001 From: Mariusz Felisiak Date: Fri, 4 Mar 2022 11:21:05 +0100 Subject: [PATCH] Refs #31169 -- Prevented infinite loop in tests on failures. Regression in ae91ecf6a1037fb67d14841b66ac19d4c2ccc4ac. --- django/db/backends/base/creation.py | 1 - 1 file changed, 1 deletion(-) diff --git a/django/db/backends/base/creation.py b/django/db/backends/base/creation.py index 15c2167be4..8a54f4061a 100644 --- a/django/db/backends/base/creation.py +++ b/django/db/backends/base/creation.py @@ -377,5 +377,4 @@ class BaseDatabaseCreation: # connection.settings_dict = settings_dict, new threads would connect # to the default database instead of the appropriate clone. self.connection.settings_dict.update(settings_dict) - self.mark_expected_failures_and_skips() self.connection.close()