diff --git a/tests/test_archives.py b/tests/test_archives.py
index 3e0cc8e..c8098cb 100644
--- a/tests/test_archives.py
+++ b/tests/test_archives.py
@@ -13,7 +13,7 @@
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see .
-from tests import ArchiveTest, needs_program, needs_codec
+from tests import ArchiveTest, needs_os, needs_program, needs_codec
class TestArchives (ArchiveTest):
diff --git a/tests/test_foo_archives.py b/tests/test_foo_archives.py
index 885c3b6..c07b91b 100644
--- a/tests/test_foo_archives.py
+++ b/tests/test_foo_archives.py
@@ -13,7 +13,7 @@
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see .
-from tests import ArchiveTest, needs_program, needs_codec
+from tests import ArchiveTest, needs_os, needs_program, needs_codec
class TestArchives (ArchiveTest):