tests/sitecustomize.py
author Pierre-Yves David <pierre-yves.david@fb.com>
Fri, 14 Nov 2014 00:14:23 +0000
changeset 23315 66275ecc73c1
parent 14971 0b21ae0a2366
child 24505 031947baf4d0
permissions -rw-r--r--
addbackup: handle file in subdirectory The current naming scheme ('journal.backups.<file>') resulted is bad directory name when 'file' was in a subdirectory. We now extract the directory name and create the backupfile within it. We plan to use file in a subdirectory for cachefile.

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