diff -r 597bb5a6867f -r 7caf632e30c3 tests/test-filecache.py --- a/tests/test-filecache.py Sat Oct 20 19:13:05 2018 +0900 +++ b/tests/test-filecache.py Sat Oct 20 17:56:00 2018 +0900 @@ -177,7 +177,7 @@ def setbeforeget(repo): os.remove('x') os.remove('y') - repo.cached = 'string set externally' + repo.__class__.cached.set(repo, 'string set externally') repo.invalidate() print("* neither file exists") print(repo.cached) @@ -188,7 +188,7 @@ print("* file x created") print(repo.cached) - repo.cached = 'string 2 set externally' + repo.__class__.cached.set(repo, 'string 2 set externally') repo.invalidate() print("* string set externally again") print(repo.cached)