diff --git a/unittest/CMakeLists.txt b/unittest/CMakeLists.txt
index 4453547a4341f1f27b2fb40a3049f66e14e45a90..38f75745f9f7672bf953bb8bba2ccd36190c6059 100644
--- a/unittest/CMakeLists.txt
+++ b/unittest/CMakeLists.txt
@@ -113,7 +113,6 @@ add_python_lib_unit_test("py-deprecation-policy"
 add_python_lib_unit_test("py-return-by-ref"
                          "unittest/python/test_return_by_ref.py")
 add_python_lib_unit_test("py-eigen-ref" "unittest/python/test_eigen_ref.py")
-add_python_lib_unit_test("py-id" "unittest/python/test_id.py")
 
 if(NOT NUMPY_WITH_BROKEN_UFUNC_SUPPORT)
   add_python_lib_unit_test("py-user-type" "unittest/python/test_user_type.py")
@@ -135,6 +134,8 @@ add_python_eigenpy_lib_unit_test("py-LLT" "unittest/python/test_LLT.py")
 
 add_python_eigenpy_lib_unit_test("py-LDLT" "unittest/python/test_LDLT.py")
 
+add_python_eigenpy_lib_unit_test("py-id" "unittest/python/test_id.py")
+
 if(NOT WIN32)
   add_python_eigenpy_lib_unit_test("py-MINRES" "unittest/python/test_MINRES.py")
 endif(NOT WIN32)