From: Erlend E. Aasland Date: Wed, 8 Jan 2025 00:23:17 +0000 (+0100) Subject: [3.12] gh-123085: Remove double 'import os' added by PR #124021 (#128600) X-Git-Tag: v3.12.9~96 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b46addafb17ad69c8015d1e09a76471bdd3a1b0f;p=thirdparty%2FPython%2Fcpython.git [3.12] gh-123085: Remove double 'import os' added by PR #124021 (#128600) gh-123085: Remove double 'import os' added by PR #124021 --- diff --git a/Lib/test/test_importlib/resources/test_files.py b/Lib/test/test_importlib/resources/test_files.py index 489cc95d1d6f..fe597d72422f 100644 --- a/Lib/test/test_importlib/resources/test_files.py +++ b/Lib/test/test_importlib/resources/test_files.py @@ -115,7 +115,6 @@ class ImplicitContextFilesTests(SiteDir, unittest.TestCase): """ Special test for gh-121735 for Python 3.12. """ - import os import zipfile def create_zip_from_directory(source_dir, zip_filename):