mirror of
https://github.com/django/django.git
synced 2025-07-29 08:04:27 +00:00
[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 ca04659b4b
from main
This commit is contained in:
parent
a0e01b000a
commit
b5f60ef5a7
6 changed files with 8 additions and 11 deletions
|
@ -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]],
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue