view tests/sitecustomize.py @ 21833:c1ceec0c8cb4

patch: use ctx.node() instead of bare node variable Future patches will allow patch.diff to take a basectx so node1 (and node2) could make hexfunc error out. Instead, we'll call the node function on the context object directly.
author Sean Farley <sean.michael.farley@gmail.com>
date Wed, 14 Aug 2013 13:10:27 -0500
parents 0b21ae0a2366
children 031947baf4d0
line wrap: on
line source

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