diff --git a/tests/test_image_support.py b/tests/test_image_support.py
index 7bbaeecf20f6fd2fe7ee57f27446c395c6e9094a..75a8a8ae92c71af89867d8209405bcf9bf8cf356 100644
--- a/tests/test_image_support.py
+++ b/tests/test_image_support.py
@@ -14,8 +14,7 @@ import numpy
 import pytest
 
 from bob.io.base import load, write
-
-from ..test_utils import datafile, temporary_filename
+from bob.io.base.test_utils import datafile, temporary_filename
 
 # These are some global parameters for the test.
 PNG_INDEXED_COLOR = datafile("img_indexed_color.png", __name__)
diff --git a/tests/test_io.py b/tests/test_io.py
index f3fddf958a45106a8698b390e29737b8b0c2940c..9f579d579f8c5c7159ce85d03db2041b90ba1269 100644
--- a/tests/test_io.py
+++ b/tests/test_io.py
@@ -4,8 +4,7 @@ import numpy as np
 import pytest
 
 from bob.io.base import load, save, vstack_features
-
-from ..test_utils import temporary_filename
+from bob.io.base.test_utils import temporary_filename
 
 
 def test_io_vstack():