Commit ab025e31 authored by Brett Cannon's avatar Brett Cannon Committed by GitHub

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).
parent 50c9435c
...@@ -38,7 +38,7 @@ def write_tests(filename, tests): ...@@ -38,7 +38,7 @@ def write_tests(filename, tests):
def write_output(filename, tests): def write_output(filename, tests):
if not filename: if not filename:
return return
print("Write %s tests into %s" % (len(tests), filename)) print("Writing %s tests into %s" % (len(tests), filename))
write_tests(filename, tests) write_tests(filename, tests)
return filename return filename
...@@ -133,11 +133,11 @@ def main(): ...@@ -133,11 +133,11 @@ def main():
print("ran %s tests/%s" % (ntest, len(tests))) print("ran %s tests/%s" % (ntest, len(tests)))
print("exit", exitcode) print("exit", exitcode)
if exitcode: if exitcode:
print("Tests failed: use this new subtest") print("Tests failed: continuing with this subtest")
tests = subtests tests = subtests
output = write_output(args.output, tests) output = write_output(args.output, tests)
else: else:
print("Tests succeeded: skip this subtest, try a new subbset") print("Tests succeeded: skipping this subtest, trying a new subset")
print() print()
iteration += 1 iteration += 1
except KeyboardInterrupt: except KeyboardInterrupt:
......
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