]> granicus.if.org Git - python/commitdiff
Fix a spelling mistake and tweak tense of output for test.bisect (GH-2683)
authorBrett Cannon <brettcannon@users.noreply.github.com>
Wed, 12 Jul 2017 19:04:25 +0000 (12:04 -0700)
committerGitHub <noreply@github.com>
Wed, 12 Jul 2017 19:04:25 +0000 (12:04 -0700)
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).

Lib/test/bisect.py

index 0fd577d4e5619f60766beb9695a36f9ad3b84bff..968537e0f8019f7fa7c880cae7bd356017013b31 100755 (executable)
@@ -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: