view tests/sitecustomize.py @ 11494:2347513f562a

debugger: show traceback before entering pdb post-mortem
author Mads Kiilerich <mads@kiilerich.com>
date Wed, 30 Jun 2010 17:20:42 +0200
parents 58128004cca1
children 0b21ae0a2366
line wrap: on
line source

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