tests/sitecustomize.py
author Pierre-Yves David <pierre-yves.david@fb.com>
Fri, 16 Jan 2015 19:35:04 -0800
changeset 23903 426607be9c69
parent 14971 0b21ae0a2366
child 24505 031947baf4d0
permissions -rw-r--r--
transaction: pass the name of the "undo" journal to the transaction It is time for the transaction to be responsible for setting up the undo data. It is necessary to move this logic into the transaction because many more files are handled now, and the transaction is the object tracking them all. The value can be set to None if no undo should be set.

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