view tests/sitecustomize.py @ 10648:58128004cca1 stable

tests: use external coverage, mandate newer version This removes the option for including the stdlib in coverage reports.
author Dirkjan Ochtman <djc.ochtman@kentyde.com>
date Thu, 11 Mar 2010 15:32:24 +0100
parents
children 0b21ae0a2366
line wrap: on
line source

try:
    import coverage
    if hasattr(coverage, 'process_startup'):
        coverage.process_startup()
except ImportError:
    pass