Mercurial > hg
view tests/sitecustomize.py @ 20513:dcd3bebf4786
run-tests: fix heredoctest for out-of-tree extensions
heredoctest.py directory must be in python path to use heredoctest (>>>) in
out-of-tree extension tests like:
$ cd ext/tests
$ python /some/hg/install/tests/run-tests.py test-ext.t
author | Patrick Mezard <patrick@mezard.eu> |
---|---|
date | Sat, 15 Feb 2014 15:28:32 +0100 |
parents | 0b21ae0a2366 |
children | 031947baf4d0 |
line wrap: on
line source
try: import coverage getattr(coverage, 'process_startup', lambda: None)() except ImportError: pass