changeset 52101:720d9849dcf9

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.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Sat, 26 Oct 2024 02:03:54 +0200
parents 19ae7730636a
children 82e2c99c84f3
files tests/test-filecache.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-filecache.py	Sat Oct 26 00:58:01 2024 +0200
+++ b/tests/test-filecache.py	Sat Oct 26 02:03:54 2024 +0200
@@ -48,7 +48,7 @@
     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'