tests/sitecustomize.py
author Idan Kamara <idankk86@gmail.com>
Sat, 30 Jul 2011 23:41:10 +0300
branchstable
changeset 14993 e5b2ee5157ae
parent 10648 58128004cca1
child 14971 0b21ae0a2366
permissions -rw-r--r--
hook: be prepared for __stdout/err__ not having fileno() it may have been replaced, see https://bitbucket.org/tortoisehg/thg/issue/937

try:
    import coverage
    if hasattr(coverage, 'process_startup'):
        coverage.process_startup()
except ImportError:
    pass