From 956bf8cce952ff710843860bef7236d43f4186f9 Mon Sep 17 00:00:00 2001 From: deckera Date: Thu, 11 Apr 2024 21:39:38 +0200 Subject: [PATCH] Fix test with nested f-strings Python 3.11 --- tests/commands/json/test_charge.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/commands/json/test_charge.py b/tests/commands/json/test_charge.py index 88c5429f..b4d2df6a 100644 --- a/tests/commands/json/test_charge.py +++ b/tests/commands/json/test_charge.py @@ -46,5 +46,5 @@ async def test_Charge_failed(caplog: pytest.LogCaptureFixture) -> None: assert ( "deebot_client.commands.json.common", logging.WARNING, - f'Command "charge" was not successfully. body={json['resp']['body']}', + f'Command "charge" was not successfully. body={json["resp"]["body"]}', ) in caplog.record_tuples