From 8a5d9ac93ce38c4301932edc4d8ab81d16bfdd60 Mon Sep 17 00:00:00 2001 From: fijal Date: Wed, 24 Jan 2007 21:25:17 +0100 Subject: [PATCH] [svn r37293] Another aproximation :-] --HG-- branch : trunk --- py/test/rsession/reporter.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/py/test/rsession/reporter.py b/py/test/rsession/reporter.py index 1c6c046d6..960f1f41f 100644 --- a/py/test/rsession/reporter.py +++ b/py/test/rsession/reporter.py @@ -258,9 +258,11 @@ class LocalReporter(AbstractReporter): def report_SkippedTryiter(self, event): #self.show_item(event.item, False) - #self.out.write("- skipped (%s)" % event.excinfo.value) - self.out.write("s") - self.skipped_tests_outcome.append(event) + if isinstance(event.item, py.test.collect.Module): + self.out.write("- skipped (%s)" % event.excinfo.value) + else: + self.out.write("s") + self.skipped_tests_outcome.append(event) def report_FailedTryiter(self, event): #self.show_item(event.item, False)