tests/sitecustomize.py
author Patrick Mezard <pmezard@gmail.com>
Thu, 19 May 2011 22:44:01 +0200
changeset 14385 7709cc983025
parent 10648 58128004cca1
child 14971 0b21ae0a2366
permissions -rw-r--r--
patch: git metadata was ignored if strip > 1 gitpatch objects emitted by iterhunks() are modified in place by applydiff(). Processing them earlier improves iterhunks() isolation. applydiff() modifying them should still be fixed though.

try:
    import coverage
    if hasattr(coverage, 'process_startup'):
        coverage.process_startup()
except ImportError:
    pass