Skip to content

Commit

Permalink
fix: adapt code to 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
MichalAI21 committed Dec 15, 2024
1 parent 2006f58 commit 34decba
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def code():
result = PlanTestClass()._create_body(code=code)

# Assert
assert result == {"code": 'code = lambda: "code"'}
assert result == {"code": 'def code():\n return "code"'}


def test_create_body__when_pass_code_and_dict_schemas__should_return_dict_with_schemas():
Expand Down

0 comments on commit 34decba

Please sign in to comment.