From fd6f99ca2cea2a60ebe5e8062d29dfc39978378d Mon Sep 17 00:00:00 2001 From: Jelle Zijlstra Date: Wed, 18 Jul 2018 21:12:37 -0700 Subject: [PATCH] fix mypy-selftest (#2341) --- 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 edc158732..c543c208e 100755 --- a/tests/mypy_selftest.py +++ b/tests/mypy_selftest.py @@ -19,7 +19,7 @@ if __name__ == '__main__': shutil.copytree('stdlib', str(dirpath / 'mypy/typeshed/stdlib')) shutil.copytree('third_party', str(dirpath / 'mypy/typeshed/third_party')) try: - subprocess.run(['./runtests.py', '-j12'], cwd=str(dirpath / 'mypy'), check=True) + subprocess.run(['pytest', '-n12'], cwd=str(dirpath / 'mypy'), check=True) except subprocess.CalledProcessError as e: print('mypy tests failed', file=sys.stderr) sys.exit(e.returncode)