diff --git a/py/test/collect.py b/py/test/collect.py index 7b6c68d14..b8b066cae 100644 --- a/py/test/collect.py +++ b/py/test/collect.py @@ -1,22 +1,7 @@ """ -Collect test items at filesystem and python module levels. - -Collectors and test items form a tree. The difference -between a collector and a test item as seen from the session -is smalll. Collectors usually return a list of child -collectors/items whereas items usually return None -indicating a successful test run. - -The is a schematic example of a tree of collectors and test items:: - - Directory - Directory - CustomCollector # provided via conftest's - CustomItem # provided via conftest's - CustomItem # provided via conftest's - Directory - ... - +base test collection objects. +Collectors and test Items form a tree +that is usually built iteratively. """ import py from py.__.misc.warn import APIWARN diff --git a/py/test/runner.py b/py/test/runner.py index 1c1b88686..747d50e09 100644 --- a/py/test/runner.py +++ b/py/test/runner.py @@ -156,13 +156,6 @@ class CollectionReport(BaseReport): else: self.failed = True - def toterminal(self, out): - longrepr = self.longrepr - if hasattr(longrepr, 'toterminal'): - longrepr.toterminal(out) - else: - out.line(str(longrepr)) - class ItemSetupReport(BaseReport): """ Test Execution Report. """ failed = passed = skipped = False