From 7896a057f9264fa7a1bccc63b0e84de283f85214 Mon Sep 17 00:00:00 2001 From: Jusong Yu Date: Wed, 27 Nov 2024 17:12:06 +0100 Subject: [PATCH] Double quotes for eval inside single quotes f-strings --- test/test_expose.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_expose.py b/test/test_expose.py index 48d59b28..5f3113ae 100644 --- a/test/test_expose.py +++ b/test/test_expose.py @@ -487,7 +487,7 @@ def validator(cls, value, ctx): return None if not isinstance(value['a'], str): - return f'value for input `a` should be a str, but got: {type(value['a'])}' + return f'value for input `a` should be a str, but got: {type(value["a"])}' class ExposeProcess(NewLoopProcess): @classmethod