view tests/sitecustomize.py @ 22743:eccf9907b844

addset: add a __nonzero__ method This is required to be a full smartset (not sure what was happening before that...)
author Pierre-Yves David <pierre-yves.david@fb.com>
date Fri, 03 Oct 2014 00:12:22 -0500
parents 0b21ae0a2366
children 031947baf4d0
line wrap: on
line source

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