summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrett Cannon <brettcannon@users.noreply.github.com>2017-07-12 19:04:25 (GMT)
committerGitHub <noreply@github.com>2017-07-12 19:04:25 (GMT)
commitab025e31abbf9fdb37599dab94507ec429dc3b30 (patch)
tree75ba3daceb2fba08161ab2f71111b85634e2ecf2
parent50c9435c9b73b39fcf79cc3e58edc58bb943d0ed (diff)
downloadcpython-ab025e31abbf9fdb37599dab94507ec429dc3b30.zip
cpython-ab025e31abbf9fdb37599dab94507ec429dc3b30.tar.gz
cpython-ab025e31abbf9fdb37599dab94507ec429dc3b30.tar.bz2
Fix a spelling mistake and tweak tense of output for test.bisect (GH-2683)
Changed "subbset" to "subset". Also made the sentences read like things were happening instead of stating what the code should do (in other words more descriptive than prescriptive).
-rwxr-xr-xLib/test/bisect.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/bisect.py b/Lib/test/bisect.py
index 0fd577d..968537e 100755
--- a/Lib/test/bisect.py
+++ b/Lib/test/bisect.py
@@ -38,7 +38,7 @@ def write_tests(filename, tests):
def write_output(filename, tests):
if not filename:
return
- print("Write %s tests into %s" % (len(tests), filename))
+ print("Writing %s tests into %s" % (len(tests), filename))
write_tests(filename, tests)
return filename
@@ -133,11 +133,11 @@ def main():
print("ran %s tests/%s" % (ntest, len(tests)))
print("exit", exitcode)
if exitcode:
- print("Tests failed: use this new subtest")
+ print("Tests failed: continuing with this subtest")
tests = subtests
output = write_output(args.output, tests)
else:
- print("Tests succeeded: skip this subtest, try a new subbset")
+ print("Tests succeeded: skipping this subtest, trying a new subset")
print()
iteration += 1
except KeyboardInterrupt: