tests/sitecustomize.py
author Durham Goode <durham@fb.com>
Mon, 24 Mar 2014 15:35:07 -0700
changeset 20884 2efdd186925d
parent 14971 0b21ae0a2366
child 24505 031947baf4d0
permissions -rw-r--r--
caches: invalidate store caches when lock is taken The fncache was not being properly invalidated each time the lock was taken, so in theory it could contain old data from prior to the caller having the lock. This changes it to be invalidated as soon as the lock is taken (same as all our other caches).

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