]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Re-order imports to align with zipp 3.18.2 (#119587)
authorJason R. Coombs <jaraco@jaraco.com>
Mon, 27 May 2024 01:33:16 +0000 (21:33 -0400)
committerGitHub <noreply@github.com>
Mon, 27 May 2024 01:33:16 +0000 (01:33 +0000)
Lib/test/test_zipfile/_path/test_complexity.py
Lib/test/test_zipfile/_path/test_path.py

index fd7ce57551b7a55cc435c9965a7e1c31fbe895f2..b505dd7c3764623ee566ed5a4ce9910647d960ee 100644 (file)
@@ -20,7 +20,7 @@ class TestComplexity(unittest.TestCase):
     @pytest.mark.flaky
     def test_implied_dirs_performance(self):
         best, others = big_o.big_o(
-            compose(consume, zipfile.CompleteDirs._implied_dirs),
+            compose(consume, zipfile._path.CompleteDirs._implied_dirs),
             lambda size: [
                 '/'.join(string.ascii_lowercase + str(n)) for n in range(size)
             ],
index f6e2c8c289f6fd0fd3487c5d99afea71bc56bd80..e5d2acf39a10f8d051de9b3ee230320a2aa501d0 100644 (file)
@@ -8,13 +8,13 @@ import unittest
 import zipfile
 import zipfile._path
 
+from test.support.os_helper import temp_dir, FakePath
+
 from ._functools import compose
 from ._itertools import Counter
 
 from ._test_params import parameterize, Invoked
 
-from test.support.os_helper import temp_dir, FakePath
-
 
 class jaraco:
     class itertools: