Commit 1dd03595 authored by Victor Stinner's avatar Victor Stinner Committed by GitHub

bpo-35519: Rename test.bisect to test.bisect_cmd (GH-11200)

Rename test.bisect module to test.bisect_cmd to avoid conflict with
bisect module when running directly a test like
"./python Lib/test/test_xmlrpc.py".
parent 0af9c332
......@@ -1986,7 +1986,7 @@ def set_match_tests(patterns):
patterns = ()
elif all(map(_is_full_match_test, patterns)):
# Simple case: all patterns are full test identifier.
# The test.bisect utility only uses such full test identifiers.
# The test.bisect_cmd utility only uses such full test identifiers.
func = set(patterns).__contains__
else:
regex = '|'.join(map(fnmatch.translate, patterns))
......
Rename :mod:`test.bisect` module to :mod:`test.bisect_cmd` to avoid conflict
with :mod:`bisect` module when running directly a test like
``./python Lib/test/test_xmlrpc.py``.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment