diff --git a/tests/test_issues_server.py b/tests/test_issues_server.py
index 2922c49408966375549c8af46c2313f7041893fc..8bedd0250a9b256c12edaf6c0155b7eb39c64d4f 100644
--- a/tests/test_issues_server.py
+++ b/tests/test_issues_server.py
@@ -1291,8 +1291,7 @@ def test_143_white_space(num):
     ]:
         with pytest.raises(TransactionError) as cm:
             db.execute_query(query)
-        assert cm.value.msg == f'You typed "{
-            num}". Empty spaces are not allowed in numbers. Did you mean "{num.replace(" ", "")}"?'
+        assert cm.value.msg == f'You typed "{num}". Empty spaces are not allowed in numbers. Did you mean "{num.replace(" ", "")}"?'
 
 
 def test_144():