Skip to content

Commit

Permalink
Fix test_translate_codify_stata string issue
Browse files Browse the repository at this point in the history
  • Loading branch information
hugetim authored Oct 17, 2024
1 parent 48ca21a commit f55f914
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion papermill/tests/test_translators.py
Original file line number Diff line number Diff line change
Expand Up @@ -658,7 +658,7 @@ def test_translate_comment_stata(test_input, expected):
@pytest.mark.parametrize(
"parameters,expected",
[
({"foo": "bar"}, '* Parameters\nglobal foo = `"bar"'\n'),
({"foo": "bar"}, '''* Parameters\nglobal foo = `"bar"'\n'''),
({"foo": True}, '* Parameters\nglobal foo = 1\n'),
({"foo": 5}, '* Parameters\nglobal foo = 5\n'),
({"foo": 1.1}, '* Parameters\nglobal foo = 1.1\n'),
Expand Down

0 comments on commit f55f914

Please sign in to comment.