view tests/sitecustomize.py @ 21533:aecac8059c00

run-tests: make testdir an argument of TestSuite.__init__ With this change, TestSuite no longer accesses anything on TestRunner and the TestRunner is no longer passed to TestSuite.
author Gregory Szorc <gregory.szorc@gmail.com>
date Fri, 25 Apr 2014 15:11:38 -0700
parents 0b21ae0a2366
children 031947baf4d0
line wrap: on
line source

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