Skip to content

[2.7] Replace 1/0 with 1//0 in tests to avoid Python 3 warns #10833

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 1 commit into from
Nov 30, 2018
Merged

[2.7] Replace 1/0 with 1//0 in tests to avoid Python 3 warns #10833

merged 1 commit into from
Nov 30, 2018

Conversation

vstinner
Copy link
Member

Fix DeprecationWarning when tests are run using python -3.

Fix DeprecationWarning when tests are run using python -3.
@vstinner
Copy link
Member Author

It seems like I missed some DeprecationWarning in my commit d7a880c, PR #10805.

@vstinner vstinner merged commit 2212ee2 into python:2.7 Nov 30, 2018
@vstinner vstinner deleted the py3k_warn branch November 30, 2018 19:45
@vstinner
Copy link
Member Author

vstinner commented Nov 30, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip issue skip news tests Tests in the Lib/test dir
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants