]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-29512: Rename Lib/test/bisect.py to bisect_cmd.py (#7229)
authorVictor Stinner <vstinner@redhat.com>
Wed, 30 May 2018 15:24:40 +0000 (17:24 +0200)
committerGitHub <noreply@github.com>
Wed, 30 May 2018 15:24:40 +0000 (17:24 +0200)
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".

Lib/test/bisect_cmd.py [moved from Lib/test/bisect.py with 100% similarity]
Misc/NEWS.d/next/Tests/2018-05-30-00-39-57.bpo-29512.EHrDzs.rst [new file with mode: 0644]

similarity index 100%
rename from Lib/test/bisect.py
rename to Lib/test/bisect_cmd.py
diff --git a/Misc/NEWS.d/next/Tests/2018-05-30-00-39-57.bpo-29512.EHrDzs.rst b/Misc/NEWS.d/next/Tests/2018-05-30-00-39-57.bpo-29512.EHrDzs.rst
new file mode 100644 (file)
index 0000000..aa5dc64
--- /dev/null
@@ -0,0 +1,3 @@
+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.