[svn r63686] fixing docstring, removing dead code.

--HG--
branch : trunk
This commit is contained in:
hpk 2009-04-05 22:34:41 +02:00
parent c516e895fd
commit 4f5020c3dd
2 changed files with 3 additions and 25 deletions

View File

@ -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

View File

@ -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