[svn r37293] Another aproximation :-]

--HG--
branch : trunk
This commit is contained in:
fijal 2007-01-24 21:25:17 +01:00
parent e8e044761f
commit 8a5d9ac93c
1 changed files with 5 additions and 3 deletions

View File

@ -258,7 +258,9 @@ class LocalReporter(AbstractReporter):
def report_SkippedTryiter(self, event):
#self.show_item(event.item, False)
#self.out.write("- skipped (%s)" % event.excinfo.value)
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)