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

Loosen message test in test_invalid_input #751

Merged

Conversation

musicinmybrain
Copy link
Contributor

In test_invalid_input, also accept “(str object cannot be interpreted as an integer)” wherever we expected “an integer is required”; required for Python 3.10 compatibility. This fixes #750.

… as an integer)” wherever we expected “an integer is required”; required for Python 3.10 compatibility
tests/test_codecs.py Outdated Show resolved Hide resolved
…ing literal.

Co-authored-by: Elvis Pranskevichus <elvis@magic.io>
Copy link
Member

@elprans elprans left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@elprans elprans merged commit bc4127f into MagicStack:master Apr 26, 2021
@elprans elprans mentioned this pull request May 17, 2021
@musicinmybrain musicinmybrain deleted the test_invalid_input-python3.10 branch May 18, 2021 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

test_invalid_input fails with Python 3.10.0a7.
2 participants