view tests/sitecustomize.py @ 17917:12178f07de97

bookmark: issue a single call to `allsuccessors` per loop Update to this code was minimalist when `allsuccessors` argument were changed from a list to a set. As this code is getting my attention again I realised we can drastically simplify this part of the code by issue a single call to `allsuccessors`.
author Pierre-Yves David <pierre-yves.david@logilab.fr>
date Wed, 24 Oct 2012 17:55:21 +0200
parents 0b21ae0a2366
children 031947baf4d0
line wrap: on
line source

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