Skip to content

Commit 25b869d

Browse files
committed
fix f string in test
1 parent 5f7b0c9 commit 25b869d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_observe.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ def observed_foo(x):
301301

302302
def test_observe_input_formatter_with_kwargs(exporter: InMemorySpanExporter):
303303
def input_formatter(x, **kwargs):
304-
return {"x": x + 1, "custom-A": f"{kwargs.get("a")}--"}
304+
return {"x": x + 1, "custom-A": f"{kwargs.get('a')}--"}
305305

306306
@observe(input_formatter=input_formatter)
307307
def observed_foo(x, **kwargs):
@@ -338,7 +338,7 @@ async def test_observe_input_formatter_with_kwargs_async(
338338
exporter: InMemorySpanExporter,
339339
):
340340
def input_formatter(x, **kwargs):
341-
return {"x": x + 1, "custom-A": f"{kwargs.get("a")}--"}
341+
return {"x": x + 1, "custom-A": f"{kwargs.get('a')}--"}
342342

343343
@observe(input_formatter=input_formatter)
344344
async def observed_foo(x, **kwargs):

0 commit comments

Comments
 (0)