From a998f49ee5af539d04430ba9332ea1a174f95533 Mon Sep 17 00:00:00 2001 From: Your Name Date: Wed, 21 Aug 2024 14:55:29 +0200 Subject: [PATCH] fix one test --- test/test_edits.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/test_edits.py b/test/test_edits.py index cefda7d..faac4ba 100644 --- a/test/test_edits.py +++ b/test/test_edits.py @@ -556,8 +556,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.""" - out, count = code_editor.fstringify_code_by_line(s_in_mixed_quotes_unsafe, state) - assert out == s_in_mixed_quotes_unsafe + 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 == expected def test_super_call(state: State):