Skip to content

Commit

Permalink
Double quotes for eval inside single quotes f-strings
Browse files Browse the repository at this point in the history
  • Loading branch information
unkcpz committed Nov 27, 2024
1 parent 5e89e46 commit 7896a05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_expose.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7896a05

Please sign in to comment.