diff tests/test-filecache.py @ 52097: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 09367b3d23d8
children 97840154eee3
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'