From 81a6ea43a580c68a6a78154a10258dd0b98ebbd3 Mon Sep 17 00:00:00 2001 From: Jelle Zijlstra Date: Mon, 9 Apr 2018 12:55:18 -0700 Subject: [PATCH] try using `--no-site-packages` (#2036) Fixes #2035. --- tests/mypy_test.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/mypy_test.py b/tests/mypy_test.py index a90667e03..cb042d83f 100755 --- a/tests/mypy_test.py +++ b/tests/mypy_test.py @@ -131,6 +131,7 @@ def main(): runs += 1 flags = ['--python-version', '%d.%d' % (major, minor)] flags.append('--strict-optional') + flags.append('--no-site-packages') if args.no_implicit_optional: flags.append('--no-implicit-optional') if args.warn_unused_ignores: