Skip to content

Commit

Permalink
Fix same test for other Python versions
Browse files Browse the repository at this point in the history
  • Loading branch information
antonymilne committed Oct 16, 2024
1 parent 9860dd3 commit c520b80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vizro-core/tests/unit/vizro/models/test_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ def chart_dynamic(data_frame, hover_data: Optional[list[str]] = None):
)

result = {}
exec(function_string, locals=result)
exec(function_string, globals(), result)
return result["chart_dynamic"]


Expand Down

0 comments on commit c520b80

Please sign in to comment.