diff --git a/tests/path-projection.cc b/tests/path-projection.cc
index 095db5d9993963b31000820378e4e4f422afb55c..9a9c857f66900fcdd1f072e69bbe341493430ede 100644
--- a/tests/path-projection.cc
+++ b/tests/path-projection.cc
@@ -132,11 +132,12 @@ namespace hpp_test {
   std::ostream& printpath (std::ostream& os, const Path& p)
   {
     value_type t = p.timeRange ().first;
+    bool noWarning;
     while (t < p.timeRange().second) {
-      print (os, p (t)) << ",";
+      print (os, p (t, noWarning)) << ",";
       t += STEP_PATH;
     }
-    return print (os, p (p.timeRange ().second));
+    return print (os, p (p.timeRange ().second, noWarning));
   }
 
   namespace pythonscript {