Skip to content

Commit

Permalink
updated test
Browse files Browse the repository at this point in the history
  • Loading branch information
srastatter committed Jul 25, 2023
1 parent 70e64da commit be7883e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/utils/utils_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ def test_update_params(params: List[dict], expected_output: List[dict]):
(func1, 'def func1(x):\n return x + 1\n'),
(func2, 'def func2(x, y):\n return x + y\n'),
(func3, 'def func3(x, y, z):\n return x + y + z\n'),
(func4, 'def func4():\n def inner_func():\n res = 1 + 1\n return res\n return inner_func()\n')
(func4, 'def func4():\n\n def inner_func():\n res = 1 + 1\n return res\n\n return inner_func()\n')
]
)
def test_get_function_source_definition(func: Callable, expected_output: str):
Expand Down

0 comments on commit be7883e

Please sign in to comment.