Skip to content

[2.7] bpo-29512: Rename Lib/test/bisect.py to bisect_cmd.py#7229

Merged
vstinner merged 1 commit intopython:2.7from
vstinner:bisect_cmd27
May 30, 2018
Merged

[2.7] bpo-29512: Rename Lib/test/bisect.py to bisect_cmd.py#7229
vstinner merged 1 commit intopython:2.7from
vstinner:bisect_cmd27

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented May 29, 2018

Rename Lib/test/bisect.py to Lib/test/bisect_cmd.py. The old name was
in conflict with Lib/bisect.py, causing test failures, depending how
tests were run.

For example, "python2.7 Lib/test/test_httpservers.py" imported
indirectly Lib/test/bisect.py instead of Lib/bisect.py
on "import bisect".

https://bugs.python.org/issue29512

Rename Lib/test/bisect.py to Lib/test/bisect_cmd.py. The old name was
in conflict with Lib/bisect.py, causing test failures, depending how
tests were run.

For example, "python2.7 Lib/test/test_httpservers.py" imported
indirectly Lib/test/bisect.py instead of Lib/bisect.py
on "import bisect".
@bedevere-bot
Copy link

@vstinner: Please replace # with GH- in the commit message next time. Thanks!

@vstinner vstinner deleted the bisect_cmd27 branch May 30, 2018 15:24
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.

3 participants