filecache: use binary path in the test
authorPierre-Yves David <pierre-yves.david@octobus.net>
Sat, 26 Oct 2024 02:03:54 +0200
changeset 52101 720d9849dcf9
parent 52100 19ae7730636a
child 52102 82e2c99c84f3
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.
tests/test-filecache.py
--- 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'