• Tim Peters's avatar
    Merged rev 28664 from 3.3 branch. · d46d9854
    Tim Peters authored
    More cleanup.  Notable:
    
    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.
    d46d9854
test_cache.py 5.82 KB