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)