view tests/sitecustomize.py @ 15281:aeeb2afcdc25 stable

check-code: support multiline matches like try/except/finally - match one pattern at a time against entire file - find line containing match - sort matches by line number
author Matt Mackall <mpm@selenic.com>
date Sun, 16 Oct 2011 20:26:20 -0500
parents 0b21ae0a2366
children 031947baf4d0
line wrap: on
line source

try:
    import coverage
    getattr(coverage, 'process_startup', lambda: None)()
except ImportError:
    pass