view tests/sitecustomize.py @ 19413:a4de0d3dc35a

run-tests: lock popen wait/poll In python2.4, any call to Popen() may attempt to wait on any active process, and wait is not thread-safe. Make it thread-safe. See http://bugs.python.org/issue1731717 for details.
author Brendan Cully <brendan@kublai.com>
date Wed, 17 Jul 2013 12:45:12 -0700
parents 0b21ae0a2366
children 031947baf4d0
line wrap: on
line source

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