view tests/sitecustomize.py @ 21488:feb8ad2d57ee

run-tests: merge MercurialTest into Test Now that we execute all tests via unittest, the MercurialTest wrapper is not necessary. This patches moves the logic from MercurialTest into Test and makes Test a child of unittest.TestCase.
author Gregory Szorc <gregory.szorc@gmail.com>
date Sun, 20 Apr 2014 17:04:42 -0700
parents 0b21ae0a2366
children 031947baf4d0
line wrap: on
line source

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