• Tim Peters's avatar
    More cleanup. Notable: · 52ad94e4
    Tim Peters authored
    ClientCache:  Removed the .tid attribute.  It was never updated; the
    contained FileCache instance actually keeps track of the last tid.
    This had the happy side effect of fixing bugs in testSerialization:
    it was accessing .tid directly, and so was _always_ comparing None to
    None.  Changing the test to use .getLastTid() instead means it's now
    testing what it always intended to test.
    
    FileCache:  Removed some unused private attributes for tracking
    internal statistics.
    52ad94e4
test_cache.py 5.82 KB