tests/hghave.py
changeset 50249 a7cbb626ec3f
parent 49645 194e654815e6
child 50250 57133107ab4d
--- a/tests/hghave.py	Mon Feb 27 18:24:29 2023 +0000
+++ b/tests/hghave.py	Tue Feb 28 11:41:50 2023 -0500
@@ -333,7 +333,7 @@
     fd, path = tempfile.mkstemp(dir='.', prefix=tempprefix)
     os.close(fd)
     try:
-        return util.cachestat(path).cacheable()
+        return util.cachestat(_sys2bytes(path)).cacheable()
     finally:
         os.remove(path)