tests/test-filecache.py
changeset 52097 720d9849dcf9
parent 49988 09367b3d23d8
child 52099 97840154eee3
equal deleted inserted replaced
52096:19ae7730636a 52097:720d9849dcf9
    46         return self
    46         return self
    47 
    47 
    48     def sjoin(self, p):
    48     def sjoin(self, p):
    49         return p
    49         return p
    50 
    50 
    51     @localrepo.repofilecache('x', 'y')
    51     @localrepo.repofilecache(b'x', b'y')
    52     def cached(self):
    52     def cached(self):
    53         print('creating')
    53         print('creating')
    54         return 'string from function'
    54         return 'string from function'
    55 
    55 
    56     def invalidate(self):
    56     def invalidate(self):