view tests/sitecustomize.py @ 21733:9ad11d5bcc2f

run-tests: don't check for the mercurial library used when using --with-hg In the ``--with-hg`` case, we cannot properly infer the location of the mercurial library, so we skip the warning completely.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Tue, 10 Jun 2014 14:32:52 -0700
parents 0b21ae0a2366
children 031947baf4d0
line wrap: on
line source

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