tests/sitecustomize.py
author Sean Farley <sean.michael.farley@gmail.com>
Wed, 16 Jul 2014 13:07:39 -0500
branchstable
changeset 21938 c8411fb5dfef
parent 14971 0b21ae0a2366
child 24505 031947baf4d0
permissions -rw-r--r--
memctx: substate needs to be {} instead of None Setting substate to None was an oversight in 7cfd94ec5d30 and this patch corrects it by setting substate to an empty dictionary which matches what subrepo code expects.

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