From e74b3d724e5ddfef96d1d66bd1c58e7aae26fc85 Mon Sep 17 00:00:00 2001 From: David Smith Date: Fri, 24 Jul 2020 07:25:47 +0100 Subject: Bumped minimum isort version to 5.1.0. Fixed inner imports per isort 5. isort 5.0.0 to 5.1.0 was unstable. --- tests/backends/postgresql/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/backends/postgresql/tests.py') diff --git a/tests/backends/postgresql/tests.py b/tests/backends/postgresql/tests.py index 1dcb14b964..8d0a801ea2 100644 --- a/tests/backends/postgresql/tests.py +++ b/tests/backends/postgresql/tests.py @@ -129,10 +129,10 @@ class Tests(TestCase): ISOLATION_LEVEL_READ_COMMITTED as read_committed, ISOLATION_LEVEL_SERIALIZABLE as serializable, ) + # Since this is a django.test.TestCase, a transaction is in progress # and the isolation level isn't reported as 0. This test assumes that # PostgreSQL is configured with the default isolation level. - # Check the level on the psycopg2 connection, not the Django wrapper. default_level = read_committed if psycopg2.__version__ < '2.7' else None self.assertEqual(connection.connection.isolation_level, default_level) -- cgit v1.3