From 2b015f4d9f681ef0b33b80df17203445bcce0410 Mon Sep 17 00:00:00 2001
From: Yannick DAYER <yannick.dayer@idiap.ch>
Date: Tue, 8 Nov 2022 19:04:42 +0100
Subject: [PATCH] [tests] Fix relative imports in test files.

---
 tests/test_image_support.py | 3 +--
 tests/test_io.py            | 3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/tests/test_image_support.py b/tests/test_image_support.py
index 7bbaeec..75a8a8a 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 f3fddf9..9f579d5 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():
-- 
GitLab