view tests/sitecustomize.py @ 22893:9672f0b2cdd9

phases: add invalidate function Phase cache invalidation was spread all over the place. Let's add a function to unify it. Later more will be added to this function.
author Durham Goode <durham@fb.com>
date Tue, 07 Oct 2014 11:37:54 -0700
parents 0b21ae0a2366
children 031947baf4d0
line wrap: on
line source

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