From b5ff75dab8f9ffaeaaddc027568cfc7a6d279a04 Mon Sep 17 00:00:00 2001 From: Baptiste Mispelon Date: Fri, 27 Nov 2015 23:08:34 +0100 Subject: [PATCH] [1.9.x] Fixed #25826 -- Improved help text for the --parallel option This was overlooked in 81f5d63218851f90bd83c1263d9a427db84d6082. Backport of ab33269b00858de7c37196a1ea044ce2080fd852 from master. --- django/test/runner.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/django/test/runner.py b/django/test/runner.py index 956a30a7d8..000b5ebdb8 100644 --- a/django/test/runner.py +++ b/django/test/runner.py @@ -392,8 +392,8 @@ class DiscoverRunner(object): help='Prints logged SQL queries on failure.') parser.add_argument( '--parallel', dest='parallel', nargs='?', default=1, type=int, - const=default_test_processes(), - help='Run tests in parallel processes.') + const=default_test_processes(), metavar='N', + help='Run tests using up to N parallel processes.') def setup_test_environment(self, **kwargs): setup_test_environment()