view tests/sitecustomize.py @ 16891:b0e8afdfa970

tests/hghave: implement #if true / #if false For unconditionally testing / skipping a section. Useful for testing the test infrastructure in test-run-tests.t and for debugging/developing tests.
author Adrian Buehlmann <adrian@cadifra.com>
date Fri, 08 Jun 2012 15:11:05 +0200
parents 0b21ae0a2366
children 031947baf4d0
line wrap: on
line source

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