diff --git a/cmake b/cmake
index a689714c0d0890ffff5649ba25cbaed44dd6e660..332976cc4d5305256c79a479e55ad7ab2ecc42f1 160000
--- a/cmake
+++ b/cmake
@@ -1 +1 @@
-Subproject commit a689714c0d0890ffff5649ba25cbaed44dd6e660
+Subproject commit 332976cc4d5305256c79a479e55ad7ab2ecc42f1
diff --git a/src/dynamic_graph/attrpath.py b/src/dynamic_graph/attrpath.py
index 1e5cdfa82d0f3e1c113d8f38a25a381a952e6eb0..98d059ececbba8154dc116727ba6a8c510247ba6 100644
--- a/src/dynamic_graph/attrpath.py
+++ b/src/dynamic_graph/attrpath.py
@@ -30,7 +30,9 @@ class CommandPath(object):
 
 
 def createCommandModule(target, name):
+
     def createGetter(name):
+
         def __(self):
             obj = getattr(self, name)
             obj.mother = self
diff --git a/src/dynamic_graph/script_shortcuts.py b/src/dynamic_graph/script_shortcuts.py
index afca81fb06d1204c6e8dbece489bb97120e6090a..04a1bb71d77d14ab7d1acf5c7b63c4988852f3de 100644
--- a/src/dynamic_graph/script_shortcuts.py
+++ b/src/dynamic_graph/script_shortcuts.py
@@ -107,7 +107,9 @@ sys.ps1 = '% '
 
 # Enable function that can be call without()def optionalparentheses(f):
 def optionalparentheses(f):
+
     class decoclass:
+
         def __init__(self, f):
             self.functor = f
 
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index fe5754567262d996af870ff60d5cd6a282b061d3..5ca0cb2b78a2d80bd3ccde5c081f48ff00a8f90e 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -6,7 +6,8 @@ TARGET_LINK_LIBRARIES(interpreter-test PRIVATE ${PROJECT_NAME})
 
 # Test runfile
 ADD_UNIT_TEST(interpreter-test-runfile interpreter-test-runfile.cc)
-TARGET_LINK_LIBRARIES(interpreter-test-runfile PRIVATE ${PROJECT_NAME} Boost::unit_test_framework)
+TARGET_LINK_LIBRARIES(interpreter-test-runfile PRIVATE ${PROJECT_NAME})
+TARGET_INCLUDE_DIRECTORIES(interpreter-test-runfile PRIVATE Boost::unit_test_framework)
 TARGET_COMPILE_DEFINITIONS(interpreter-test-runfile PRIVATE PATH="${CMAKE_CURRENT_LIST_DIR}/")
 
 # Test the module generation
diff --git a/tests/interpreter-test-runfile.cc b/tests/interpreter-test-runfile.cc
index e87047c8eb088cdb06917bd370f7b84e789daafd..eb84cbc72f806a9cb187a84856a89464c969485c 100644
--- a/tests/interpreter-test-runfile.cc
+++ b/tests/interpreter-test-runfile.cc
@@ -62,7 +62,9 @@ int main(int argc, char** argv) {
   res = testFile(PATH "test_python-syntax_error.py",
                  std::string("  File \"" PATH "test_python-syntax_error.py\", line 2\n"
                              "    hello world\n"
-#if PY_MINOR_VERSION >= 8
+#if PY_MINOR_VERSION >= 10
+                             "          ^^^^^\n"
+#elif PY_MINOR_VERSION >= 8
                              "          ^\n"
 #else
                              "              ^\n"
diff --git a/tests/test_bindings.py b/tests/test_bindings.py
index 92ea4a5ad415ea8b3f05edcc2ea5f09ee5fa89bb..d4d8a3680c08d159557ee0bb06f56ce337256916 100644
--- a/tests/test_bindings.py
+++ b/tests/test_bindings.py
@@ -10,6 +10,7 @@ did not match C++ signature:
 
 
 class BindingsTests(unittest.TestCase):
+
     def test_type_check(self):
         """
         test the type checking in signal plugs