diff --git a/tests/factory.cpp b/tests/factory.cpp
index 266bf5459d16974dc67703c21bd48d5ee3e34f2e..45a23722aa299387459d04bd254f1b6707e7f643 100644
--- a/tests/factory.cpp
+++ b/tests/factory.cpp
@@ -1,7 +1,6 @@
 // Copyright 2010 Thomas Moulard.
 //
 
-#include <iostream>
 #include <sstream>
 #include <dynamic-graph/factory.h>
 #include <dynamic-graph/entity.h>