view tests/sitecustomize.py @ 14821:2017495bd552 stable

run-tests: fallback to SIGTERM if subprocess.Popen does not have terminate()
author Thomas Arendsen Hein <thomas@intevation.de>
date Thu, 30 Jun 2011 16:25:05 +0200
parents 58128004cca1
children 0b21ae0a2366
line wrap: on
line source

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