view tests/sitecustomize.py @ 18586:40f9472f5737

byterange: remove old two-arg raise trick We don't care about the original traceback, and this was frustrating any efforts to make the code work on Python 3.3.
author Augie Fackler <raf@durin42.com>
date Fri, 08 Feb 2013 17:14:12 -0600
parents 0b21ae0a2366
children 031947baf4d0
line wrap: on
line source

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