diff --git a/Lib/test/test_importlib/resources/test_files.py b/Lib/test/test_importlib/resources/test_files.py index 489cc95d1d6fa5..fe597d72422f83 100644 --- a/Lib/test/test_importlib/resources/test_files.py +++ b/Lib/test/test_importlib/resources/test_files.py @@ -115,7 +115,6 @@ def test_implicit_files_zip_submodule(self): """ Special test for gh-121735 for Python 3.12. """ - import os import zipfile def create_zip_from_directory(source_dir, zip_filename):