Skip to content

Commit

Permalink
fix one test
Browse files Browse the repository at this point in the history
  • Loading branch information
ikamensh committed Aug 21, 2024
1 parent 6e1fc75 commit 0d62c12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_process.py
Original file line number Diff line number Diff line change
Expand Up @@ -560,10 +560,10 @@ def test_mixed_quote_types(state: State):
def test_mixed_quote_types_unsafe(state: State):
"""Test that a multiline, mixed-quotes expression is transformed."""

# expected = '''f"one is {one} and two is {two}"'''
expected = '''f"one is \\"{'\\"'.join(one)}\\" and two is {two}"'''

out, count = process.fstringify_code_by_line(s_in_mixed_quotes_unsafe, state)
assert out == s_in_mixed_quotes_unsafe
assert out == expected


def test_super_call(state: State):
Expand Down

0 comments on commit 0d62c12

Please sign in to comment.