view tests/sitecustomize.py @ 19727:3d07b4a2f743

parsers: correctly handle a failed allocation
author Bryan O'Sullivan <bryano@fb.com>
date Mon, 16 Sep 2013 12:17:55 -0700
parents 0b21ae0a2366
children 031947baf4d0
line wrap: on
line source

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