diff options
| author | Robert Collins <robertc@robertcollins.net> | 2010-07-01 21:22:41 +1000 |
|---|---|---|
| committer | Robert Collins <robertc@robertcollins.net> | 2010-07-01 21:22:41 +1000 |
| commit | fbcddf14a64b1087528dd45b00647678ac60e7f6 (patch) | |
| tree | 008b783c04fad30f842980441a947f94ce1418f8 /python/subunit | |
| parent | 270f9891f392d43e3def190933b0d51f77fa2418 (diff) | |
| download | subunit-git-fbcddf14a64b1087528dd45b00647678ac60e7f6.tar.gz | |
Tweak discovery patch as requested in the review.
Diffstat (limited to 'python/subunit')
| -rwxr-xr-x | python/subunit/run.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/python/subunit/run.py b/python/subunit/run.py index 766a94a..daa241a 100755 --- a/python/subunit/run.py +++ b/python/subunit/run.py @@ -58,8 +58,11 @@ class SubunitTestProgram(TestProgram): usage['catchbreak'] = CATCHBREAK if self.buffer != False: usage['buffer'] = BUFFEROUTPUT - print self.USAGE % usage - print "The output will be in subunit format.\n" + usage_text = self.USAGE % usage + usage_lines = usage_text.split('\n') + usage_lines.insert(2, "Run a test suite with a subunit reporter.") + usage_lines.insert(3, "") + print('\n'.join(usage_lines)) sys.exit(2) |
