From 572f5f91861c0d2a5558b75b91c5853828803a38 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sat, 16 Jan 2021 10:05:47 +0100 Subject: [PATCH] Fix fstring syntax error --- tests/rpc/test_rpc_apiserver.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/rpc/test_rpc_apiserver.py b/tests/rpc/test_rpc_apiserver.py index 518eb189e..c782f5431 100644 --- a/tests/rpc/test_rpc_apiserver.py +++ b/tests/rpc/test_rpc_apiserver.py @@ -530,8 +530,8 @@ def test_api_logs(botclient): # Using a fixed comparison here would make this test fail! if rc1.json()['log_count'] == 0: # Help debugging random test failure - print(f"{rc.json()=}") - print(f"{rc1.json()=}") + print(f"rc={rc.json()}") + print(f"rc1={rc1.json()}") assert rc1.json()['log_count'] == 5 assert len(rc1.json()['logs']) == rc1.json()['log_count']