tests/sitecustomize.py
author Gregory Szorc <gregory.szorc@gmail.com>
Sat, 19 Apr 2014 13:11:49 -0700
changeset 21300 a2774731a51a
parent 14971 0b21ae0a2366
child 24505 031947baf4d0
permissions -rw-r--r--
run-tests: move createhgrc() call into Test.run() createhgrc() is an implementation detail of how tests are run. It makes sense to move it into Test.run(). Note that this will cause the test execution time to include the creation of hgrc. The author does not believe this is a significant change worth worrying about.

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