tests/sitecustomize.py
author Augie Fackler <durin42@gmail.com>
Mon, 25 Jul 2011 16:37:18 -0500
changeset 14971 0b21ae0a2366
parent 10648 58128004cca1
child 24505 031947baf4d0
permissions -rw-r--r--
tests: use getattr instead of hasattr

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