Skip to content

Commit 8ab207b

Browse files
emmatypingJelleZijlstra
authored andcommitted
Decrease Mypy concurrent process count (#1618)
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 python/mypy#3543
1 parent 3d505d0 commit 8ab207b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/mypy_selftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
shutil.copytree('stdlib', str(dirpath / 'mypy/typeshed/stdlib'))
2020
shutil.copytree('third_party', str(dirpath / 'mypy/typeshed/third_party'))
2121
try:
22-
subprocess.run(['./runtests.py'], cwd=str(dirpath / 'mypy'), check=True)
22+
subprocess.run(['./runtests.py', '-j12'], cwd=str(dirpath / 'mypy'), check=True)
2323
except subprocess.CalledProcessError as e:
2424
print('mypy tests failed', file=sys.stderr)
2525
sys.exit(e.returncode)

0 commit comments

Comments
 (0)