From 2fc6d37527b98d1fd7dbf90a281c546d63fb15b1 Mon Sep 17 00:00:00 2001 From: Guilhem Saurel <guilhem.saurel@laas.fr> Date: Wed, 30 Mar 2022 16:57:17 +0200 Subject: [PATCH] =?UTF-8?q?fix=20syntax=20for=20python2=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/test_bindings.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/tests/test_bindings.py b/tests/test_bindings.py index 4de3e5a..425da39 100644 --- a/tests/test_bindings.py +++ b/tests/test_bindings.py @@ -3,11 +3,14 @@ import unittest import dynamic_graph as dg from custom_entity import CustomEntity -_SIG = "dynamicgraph::SignalBase<int>*" -ERR = f"""Python argument types in +ERR = ( + """Python argument types in dynamic_graph.wrap.plug(%s, %s) did not match C++ signature: - plug({_SIG} signalOut, {_SIG} signalIn)""" + plug(""" + "dynamicgraph::SignalBase<int>* signalOut, " + "dynamicgraph::SignalBase<int>* signalIn)" +) class BindingsTests(unittest.TestCase): -- GitLab