Skip to content

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

Merged
vstinner merged 1 commit into
python:2.7from
vstinner:py3k_warn
Nov 30, 2018
Merged

[2.7] Replace 1/0 with 1//0 in tests to avoid Python 3 warns#10833
vstinner merged 1 commit into
python:2.7from
vstinner:py3k_warn

Conversation

@vstinner

Copy link
Copy Markdown
Member

Fix DeprecationWarning when tests are run using python -3.

Fix DeprecationWarning when tests are run using python -3.
@vstinner

Copy link
Copy Markdown
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

vstinner commented Nov 30, 2018 via email

Copy link
Copy Markdown
Member Author

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