tests/sitecustomize.py
author Augie Fackler <augie@google.com>
Tue, 13 Jan 2015 15:15:37 -0500
changeset 23823 bd72e75f09e7
parent 14971 0b21ae0a2366
child 24505 031947baf4d0
permissions -rw-r--r--
test-https: glob error messages more so we pass on Python 2.7.9 Python 2.7.9 cleans up how it stringifies SSL errors, so we have to look only for the important bit (certificate verify failed) rather than looking for specific ssl module goop (which is now unstable).

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