Skip to content
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

Incorrect error message in floats strategy #1707

Closed
vitalbmcdonald opened this issue Dec 18, 2018 · 1 comment · Fixed by #1720
Closed

Incorrect error message in floats strategy #1707

vitalbmcdonald opened this issue Dec 18, 2018 · 1 comment · Fixed by #1720
Assignees
Labels
bug something is clearly wrong here

Comments

@vitalbmcdonald
Copy link

For the floats strategy, if min_value or max_value can not be represented by the width, one of these error messages is raised. The issue is that the error message format variables are in the wrong order. It should be (min_arg, width, min_value) instead of (min_value, width, min_arg). The same is true for the max_value error message.

@Zac-HD Zac-HD added the bug something is clearly wrong here label Dec 18, 2018
@Zac-HD
Copy link
Member

Zac-HD commented Dec 18, 2018

Thanks for spotting this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something is clearly wrong here
Projects
None yet
2 participants