view tests/sitecustomize.py @ 18239:a95f1d619bb7

perftest: add an option to invalidate volatile cache Some revsets are sensitive to such initialization. Being able to test the impact is great.
author Pierre-Yves David <pierre-yves.david@logilab.fr>
date Fri, 04 Jan 2013 19:22:40 +0100
parents 0b21ae0a2366
children 031947baf4d0
line wrap: on
line source

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