mirror of
https://github.com/langgenius/dify.git
synced 2026-04-20 02:37:20 +08:00
fix(tests): remove unnecessary noqa directive from test function
This commit is contained in:
@ -24,7 +24,7 @@ class TestTraceSpanDecorator:
|
||||
"""Test that decorated function executes and returns correct value."""
|
||||
|
||||
@trace_span()
|
||||
def test_func(x, y): # noqa: FURB118
|
||||
def test_func(x, y):
|
||||
return x + y
|
||||
|
||||
result = test_func(2, 3)
|
||||
|
||||
Reference in New Issue
Block a user