From ec77d99c10a3b38b8c316f7264f95544c182b0d0 Mon Sep 17 00:00:00 2001 From: Ethan Smith Date: Wed, 20 Sep 2017 12:16:23 -0700 Subject: [PATCH] Decrease Mypy concurrent process count Mypy has issues with running its test suite with many processes concurrently. This should reduce travis test failures, if not completely resolve failures. See issue https://github.com/python/mypy/issues/3543 --- tests/mypy_selftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/mypy_selftest.py b/tests/mypy_selftest.py index 4ee98f72bde3..edc158732f2c 100755 --- a/tests/mypy_selftest.py +++ b/tests/mypy_selftest.py @@ -19,7 +19,7 @@ shutil.copytree('stdlib', str(dirpath / 'mypy/typeshed/stdlib')) shutil.copytree('third_party', str(dirpath / 'mypy/typeshed/third_party')) try: - subprocess.run(['./runtests.py'], cwd=str(dirpath / 'mypy'), check=True) + subprocess.run(['./runtests.py', '-j12'], cwd=str(dirpath / 'mypy'), check=True) except subprocess.CalledProcessError as e: print('mypy tests failed', file=sys.stderr) sys.exit(e.returncode)