Skip to content

Commit a353aab

Browse files
author
Guido van Rossum
committed
Add commented-out flag to use --fast-parser.
1 parent d131efc commit a353aab

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/mypy_test.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,8 @@ def main():
124124
runs += 1
125125
flags = ['--python-version', '%d.%d' % (major, minor)]
126126
flags.append('--strict-optional')
127-
##flags.append('--warn-unused-ignores')
127+
##flags.append('--fast-parser') # Travis CI doesn't have typed_ast yet.
128+
##flags.append('--warn-unused-ignores') # Fast parser and regular parser disagree.
128129
sys.argv = ['mypy'] + flags + files
129130
if args.verbose:
130131
print("running", ' '.join(sys.argv))

0 commit comments

Comments
 (0)