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

Fix several error messages that don't display types correctly #3638

Merged
merged 2 commits into from Jun 30, 2017

Conversation

Projects
None yet
2 participants
@ilinum
Collaborator

ilinum commented Jun 30, 2017

These were calling messages.format_simple() instead of messages.format(),
which returns an empty string for complicated types, such as Callable.

Fixes #3382

Fix several error messages that don't display types correctly
These were calling messages.format_simple() instead of messages.format(),
which returns an empty string for complicated types, such as Callable.

Fixes #3382
@ddfisher

LGTM! Fix minor grammar nit, then merge.

Show outdated Hide outdated test-data/unit/check-expressions.test

@ilinum ilinum merged commit e74ce8d into python:master Jun 30, 2017

2 checks passed

continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details

@ilinum ilinum deleted the ilinum:fix-error-messages branch Jun 30, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment