From 6f62466d6f5c8a068b6a05e7fca1dd9fd5c14918 Mon Sep 17 00:00:00 2001 From: Jelle Zijlstra Date: Mon, 3 Sep 2018 10:35:20 -0700 Subject: [PATCH] fix selftest (#2425) Now that the typeshed submodule has moved. --- tests/mypy_selftest.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/mypy_selftest.py b/tests/mypy_selftest.py index c543c208e..fd7f23b10 100755 --- a/tests/mypy_selftest.py +++ b/tests/mypy_selftest.py @@ -16,8 +16,8 @@ if __name__ == '__main__': str(dirpath / 'mypy')], check=True) subprocess.run([sys.executable, '-m', 'pip', 'install', '-U', '-r', str(dirpath / 'mypy/test-requirements.txt')], check=True) - shutil.copytree('stdlib', str(dirpath / 'mypy/typeshed/stdlib')) - shutil.copytree('third_party', str(dirpath / 'mypy/typeshed/third_party')) + shutil.copytree('stdlib', str(dirpath / 'mypy/mypy/typeshed/stdlib')) + shutil.copytree('third_party', str(dirpath / 'mypy/mypy/typeshed/third_party')) try: subprocess.run(['pytest', '-n12'], cwd=str(dirpath / 'mypy'), check=True) except subprocess.CalledProcessError as e: