summaryrefslogtreecommitdiff
path: root/tests/backends/postgresql/tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/backends/postgresql/tests.py')
-rw-r--r--tests/backends/postgresql/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/backends/postgresql/tests.py b/tests/backends/postgresql/tests.py
index c37b83bb90..aaac2eb135 100644
--- a/tests/backends/postgresql/tests.py
+++ b/tests/backends/postgresql/tests.py
@@ -89,7 +89,7 @@ class Tests(TestCase):
)
with self.assertWarnsMessage(RuntimeWarning, msg):
mocker_connections_all = mock.patch(
- 'django.utils.connection.BaseConnectionHandler.all',
+ 'django.db.utils.ConnectionHandler.all',
side_effect=mocked_all,
autospec=True,
)