8000 Exit with code 2 on blocking errors by msullivan · Pull Request #4443 · python/mypy · GitHub
[go: up one dir, main page]

Skip to content

Exit with code 2 on blocking errors #4443

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jan 9, 2018
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Reduce the amount of noise in the tests
  • Loading branch information
msullivan committed Jan 8, 2018
commit 744a96b4c3149c5899430646bd6987aaa5a583a0
4 changes: 3 additions & 1 deletion mypy/test/testcmdline.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,9 @@ def test_python_cmdline(testcase: DataDrivenTestCase) -> None:
path))
else:
out = normalize_error_messages(out)
out.append('== Return code: {}'.format(result))
obvious_result = 1 if out else 0
if obvious_result != result:
out.append('== Return code: {}'.format(result))
assert_string_arrays_equal(testcase.output, out,
'Invalid output ({}, line {})'.format(
testcase.file, testcase.line))
Expand Down
Loading
0