view tests/sitecustomize.py @ 22838:9a20f53e436f

run-tests: handle --jobs and --first gracefully Without this change, --first causes currently-running tests to explode in violent and surprising ways when their temporary directory gets cleaned up. Now we just suppress failure messages from non-first failures when running in --first mode.
author Augie Fackler <raf@durin42.com>
date Thu, 09 Oct 2014 15:10:40 -0400
parents 0b21ae0a2366
children 031947baf4d0
line wrap: on
line source

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