From cbe0b91d6affa8fa9125a1939e0f688f87d74cee Mon Sep 17 00:00:00 2001 From: Peter VandeHaar Date: Tue, 26 Jan 2021 15:00:00 -0500 Subject: [PATCH] Show path in warning message --- parso/cache.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parso/cache.py b/parso/cache.py index 1ced9ac..5592a9f 100644 --- a/parso/cache.py +++ b/parso/cache.py @@ -187,7 +187,7 @@ def try_to_save_module(hashed_grammar, file_io, module, lines, pickling=True, ca # file system. It's still in RAM in that case. However we should # still warn the user that this is happening. warnings.warn( - 'Tried to save a file to %s, but got permission denied.', + 'Tried to save a file to %s, but got permission denied.' % path, Warning ) else: