tests/sitecustomize.py
author Kevin Bullock <kbullock@ringworld.org>
Tue, 12 Feb 2013 11:36:21 -0600
changeset 18690 4c6f7f0dadab
parent 14971 0b21ae0a2366
child 24505 031947baf4d0
permissions -rw-r--r--
scmutil: split platform-specific bits into their own modules This parallels what's done for the util module, which imports either mercurial.posix or mercurial.windows as 'platform' and then slurps the appropriate functions into its own namespace.

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