Include reason in cache path warnings to aid debugging (#11005)

Co-authored-by: Bruno Oliveira <nicoddemus@gmail.com>
This commit is contained in:
Ville Skyttä
2023-05-18 16:11:47 +03:00
committed by GitHub
parent 6041511fb4
commit c8641f879f
3 changed files with 12 additions and 5 deletions
+1 -1
View File
@@ -87,7 +87,7 @@ class TestNewAPI:
"*= warnings summary =*",
"*/cacheprovider.py:*",
" */cacheprovider.py:*: PytestCacheWarning: could not create cache path "
f"{unwritable_cache_dir}/v/cache/nodeids",
f"{unwritable_cache_dir}/v/cache/nodeids: *",
' config.cache.set("cache/nodeids", sorted(self.cached_nodeids))',
"*1 failed, 3 warnings in*",
]