view tests/sitecustomize.py @ 21428:3df2ecf8d545

run-tests: start to report test results against TestResult Previously, our unittest wrapper didn't report results properly. We now properly report failures. We had to rename the local variable to prevent "t" from being overwritten in the local scope.
author Gregory Szorc <gregory.szorc@gmail.com>
date Sun, 20 Apr 2014 11:29:39 -0700
parents 0b21ae0a2366
children 031947baf4d0
line wrap: on
line source

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