From 3b3f38b3b09b0f2373e51406ecb8c9c45d36aebc Mon Sep 17 00:00:00 2001 From: David Smith Date: Sat, 12 Feb 2022 20:40:12 +0000 Subject: Fixed #31169 -- Adapted the parallel test runner to use spawn. Co-authored-by: Valz Co-authored-by: Nick Pope --- tests/postgres_tests/test_bulk_update.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/postgres_tests/test_bulk_update.py') diff --git a/tests/postgres_tests/test_bulk_update.py b/tests/postgres_tests/test_bulk_update.py index f0b473efa7..5f91f77791 100644 --- a/tests/postgres_tests/test_bulk_update.py +++ b/tests/postgres_tests/test_bulk_update.py @@ -1,5 +1,7 @@ from datetime import date +from django.test import modify_settings + from . import PostgreSQLTestCase from .models import ( HStoreModel, @@ -16,6 +18,7 @@ except ImportError: pass # psycopg2 isn't installed. +@modify_settings(INSTALLED_APPS={"append": "django.contrib.postgres"}) class BulkSaveTests(PostgreSQLTestCase): def test_bulk_update(self): test_data = [ -- cgit v1.3