summaryrefslogtreecommitdiff
path: root/django
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2022-07-19 09:45:11 +0200
committerGitHub <noreply@github.com>2022-07-19 09:45:11 +0200
commit24effbceb871e71d3bc320b91252f743714722df (patch)
tree8ae179e06a61cbf6fbede16da0ca0fbddea4ab12 /django
parente59d1ff5627cf9cc551e160d65858a37693de4ed (diff)
Fixed #33855 -- Removed unnecessary system check calls from test worker initialization.
Regression in 3b3f38b3b09b0f2373e51406ecb8c9c45d36aebc.
Diffstat (limited to 'django')
-rw-r--r--django/test/runner.py9
1 files changed, 1 insertions, 8 deletions
diff --git a/django/test/runner.py b/django/test/runner.py
index 55d902bb09..270ddf5b59 100644
--- a/django/test/runner.py
+++ b/django/test/runner.py
@@ -20,12 +20,7 @@ from io import StringIO
from django.core.management import call_command
from django.db import connections
from django.test import SimpleTestCase, TestCase
-from django.test.utils import (
- NullTimeKeeper,
- TimeKeeper,
- captured_stdout,
- iter_test_cases,
-)
+from django.test.utils import NullTimeKeeper, TimeKeeper, iter_test_cases
from django.test.utils import setup_databases as _setup_databases
from django.test.utils import setup_test_environment
from django.test.utils import teardown_databases as _teardown_databases
@@ -433,8 +428,6 @@ def _init_worker(
if value := serialized_contents.get(alias):
connection._test_serialized_contents = value
connection.creation.setup_worker_connection(_worker_id)
- with captured_stdout():
- call_command("check", databases=connections)
def _run_subsuite(args):