summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2018-12-17 21:06:10 (GMT)
committerGitHub <noreply@github.com>2018-12-17 21:06:10 (GMT)
commit1dd035954bb03c41b954ebbd63969b4bcb0e106e (patch)
tree427d674ab5c710aed9d75a0a7a2aa6cab10e6d9a /Lib/test
parent0af9c33262fb43f39a6558e3f155689e83e10706 (diff)
downloadcpython-1dd035954bb03c41b954ebbd63969b4bcb0e106e.zip
cpython-1dd035954bb03c41b954ebbd63969b4bcb0e106e.tar.gz
cpython-1dd035954bb03c41b954ebbd63969b4bcb0e106e.tar.bz2
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".
Diffstat (limited to 'Lib/test')
-rwxr-xr-xLib/test/bisect_cmd.py (renamed from Lib/test/bisect.py)0
-rw-r--r--Lib/test/support/__init__.py2
2 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/bisect.py b/Lib/test/bisect_cmd.py
index 968537e..968537e 100755
--- a/Lib/test/bisect.py
+++ b/Lib/test/bisect_cmd.py
diff --git a/Lib/test/support/__init__.py b/Lib/test/support/__init__.py
index 9ffb04d..53119e1 100644
--- a/Lib/test/support/__init__.py
+++ b/Lib/test/support/__init__.py
@@ -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))