Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
Signed-off-by: Ahdra Merali <[email protected]>
  • Loading branch information
Ahdra Merali committed Feb 1, 2024
1 parent 1bbd161 commit 4581373
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/ipython/test_ipython.py
Original file line number Diff line number Diff line change
Expand Up @@ -500,10 +500,8 @@ def test_get_lambda_function_body(self, lambda_node):

def test_get_nested_function_body(self):
func_strings = """def nested_function(input):
# return not input
print(not input)
# return nested_function(dummy_input)
print(nested_function(dummy_input))"""
return not input
return nested_function(dummy_input)"""

result = _prepare_function_body(dummy_nested_function)
assert result == func_strings
Expand Down

0 comments on commit 4581373

Please sign in to comment.