view tests/sitecustomize.py @ 21760:a7f5967ff644 stable

tests: ignore missing file with PYTHONDONTWRITEBYTECODE (issue4239)
author Matt Mackall <mpm@selenic.com>
date Wed, 18 Jun 2014 13:47:14 -0500
parents 0b21ae0a2366
children 031947baf4d0
line wrap: on
line source

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