Skip to content

Commit 57c62d0

Browse files
try using --no-site-packages
Fixes #2035.
1 parent f37709f commit 57c62d0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/mypy_test.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ def main():
131131
runs += 1
132132
flags = ['--python-version', '%d.%d' % (major, minor)]
133133
flags.append('--strict-optional')
134+
flags.append('--no-site-packages')
134135
if args.no_implicit_optional:
135136
flags.append('--no-implicit-optional')
136137
if args.warn_unused_ignores:

0 commit comments

Comments
 (0)