Skip to content

Commit

Permalink
Fix a spelling mistake and tweak tense of output for test.bisect (pyt…
Browse files Browse the repository at this point in the history
…honGH-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).
  • Loading branch information
brettcannon authored Jul 12, 2017
1 parent 50c9435 commit ab025e3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Lib/test/bisect.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit ab025e3

Please sign in to comment.