Fixed runtests.py message about parallel processes.
It didn't work anymore since the commit that enabled test parallelization by default because parallel was equal to 0 at that point.
This commit is contained in:
parent
2425f6fda0
commit
7673759321
|
@ -104,8 +104,9 @@ def get_installed():
|
|||
def setup(verbosity, test_labels, parallel):
|
||||
if verbosity >= 1:
|
||||
msg = "Testing against Django installed in '%s'" % os.path.dirname(django.__file__)
|
||||
if parallel > 1:
|
||||
msg += " with %d processes" % parallel
|
||||
max_parallel = default_test_processes() if parallel == 0 else parallel
|
||||
if max_parallel > 1:
|
||||
msg += " with up to %d processes" % max_parallel
|
||||
print(msg)
|
||||
|
||||
# Force declaring available_apps in TransactionTestCase for faster tests.
|
||||
|
|
Loading…
Reference in New Issue