From 2afc9e8c165faa3c657882102094a3fc84bfb292 Mon Sep 17 00:00:00 2001
From: Calen Pennington <cale@edx.org>
Date: Fri, 3 Jun 2016 10:03:23 -0400
Subject: [PATCH] Don't use the --processes argument at all of processes=0

---
 pavelib/utils/test/suites/nose_suite.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/pavelib/utils/test/suites/nose_suite.py b/pavelib/utils/test/suites/nose_suite.py
index 533416a668f..61d22255526 100644
--- a/pavelib/utils/test/suites/nose_suite.py
+++ b/pavelib/utils/test/suites/nose_suite.py
@@ -158,9 +158,12 @@ class SystemTestSuite(NoseTestSuite):
             self.extra_args,
             '--with-xunitmp',
             '--xunitmp-file={}'.format(self.report_dir / "nosetests.xml"),
-            '--processes={}'.format(self.processes),
             '--with-database-isolation',
         ]
+
+        if self.processes != 0:
+            cmd.append('--processes={}'.format(self.processes))
+
         if self.randomize:
             cmd.append('--with-randomly')
 
-- 
GitLab