summaryrefslogtreecommitdiff
path: root/tests/postgres_tests/test_array.py
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2021-12-22 20:32:55 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2021-12-22 20:33:49 +0100
commitb5f60ef5a74a86bf8d7fbebf2000284bffb61aac (patch)
treeaf69f9e578b99ea886b1a5be4ffa1b2cc6c3ae05 /tests/postgres_tests/test_array.py
parenta0e01b000a0d1960cf23f35daf9c60f812671f3b (diff)
[4.0.x] Refs #32355 -- Bumped required psycopg2 version to 2.8.4.
psycopg2 2.8.4 is the first release to support Python 3.8. Backport of ca04659b4b3f042c1bc7e557c25ed91e3c56c745 from main
Diffstat (limited to 'tests/postgres_tests/test_array.py')
-rw-r--r--tests/postgres_tests/test_array.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/postgres_tests/test_array.py b/tests/postgres_tests/test_array.py
index 62a495d5a7..ba04c15e24 100644
--- a/tests/postgres_tests/test_array.py
+++ b/tests/postgres_tests/test_array.py
@@ -36,7 +36,6 @@ try:
from django.contrib.postgres.forms import (
SimpleArrayField, SplitArrayField, SplitArrayWidget,
)
- from django.db.backends.postgresql.base import PSYCOPG2_VERSION
except ImportError:
pass
@@ -193,8 +192,6 @@ class TestSaveLoad(PostgreSQLTestCase):
self.assertEqual(field.base_field.model, IntegerArrayModel)
def test_nested_nullable_base_field(self):
- if PSYCOPG2_VERSION < (2, 7, 5):
- self.skipTest('See https://github.com/psycopg/psycopg2/issues/325')
instance = NullableIntegerArrayModel.objects.create(
field_nested=[[None, None], [None, None]],
)