From fbcddf14a64b1087528dd45b00647678ac60e7f6 Mon Sep 17 00:00:00 2001 From: Robert Collins Date: Thu, 1 Jul 2010 21:22:41 +1000 Subject: Tweak discovery patch as requested in the review. --- python/subunit/run.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'python/subunit') 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) -- cgit v1.2.1