tests/sitecustomize.py
author David Soria Parra <davidsp@fb.com>
Wed, 15 Oct 2014 08:38:16 -0700
changeset 22983 a3a981563ce8
parent 14971 0b21ae0a2366
child 24505 031947baf4d0
permissions -rw-r--r--
histedit: read state from histeditstate Read the state in histeditstate. This allows us to correctly update internal variables when necessary without having to recreate a new state. When we read a state in _histedit state while we will already have state passed from histedit(), we can read the state in place and don't have to merge two histeditstates.

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