view tests/sitecustomize.py @ 22275:d9a8017dce10

test-config: add tests for invalid syntax This was not tested and there is more to come in the next patch.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Wed, 20 Aug 2014 22:52:56 -0700
parents 0b21ae0a2366
children 031947baf4d0
line wrap: on
line source

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