tests/sitecustomize.py
author Gregory Szorc <gregory.szorc@gmail.com>
Sat, 10 May 2014 14:54:39 -0700
changeset 21637 48ef68004ec9
parent 14971 0b21ae0a2366
child 24505 031947baf4d0
permissions -rw-r--r--
fix_bytes: loosen blacklist matching requirements On my Linux machine, paths seen by 2to3 include the build directory. We switch from an exact to substring match to allow 2to3 to work in more environments.

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