# HG changeset patch # User Pierre-Yves David # Date 2024-10-26 00:03:54 # Node ID 720d9849dcf928b35c2ee7d5e9110491c355c20a # Parent 19ae7730636a589462821532a0f1bb55188d64df filecache: use binary path in the test This was overlooked when converting string. This is needed as we are about to introduce bytes specific code in the filecache code path. diff --git a/tests/test-filecache.py b/tests/test-filecache.py --- a/tests/test-filecache.py +++ b/tests/test-filecache.py @@ -48,7 +48,7 @@ class fakerepo: def sjoin(self, p): return p - @localrepo.repofilecache('x', 'y') + @localrepo.repofilecache(b'x', b'y') def cached(self): print('creating') return 'string from function'