From 0d62c128b3a1cb33d599a808051f7deab5870333 Mon Sep 17 00:00:00 2001 From: Ilya Kamen Date: Wed, 21 Aug 2024 14:40:46 +0200 Subject: [PATCH] fix one test --- test/test_process.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_process.py b/test/test_process.py index d772989..77af5e8 100644 --- a/test/test_process.py +++ b/test/test_process.py @@ -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):