Skip to content

Commit 6ffbd93

Browse files
[3.12] Re-order imports to align with zipp 3.18.2 (GH-119587) (#119590)
Re-order imports to align with zipp 3.18.2 (GH-119587) (cherry picked from commit 5482a93) Co-authored-by: Jason R. Coombs <[email protected]>
1 parent 09a85ea commit 6ffbd93

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Lib/test/test_zipfile/_path/test_complexity.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class TestComplexity(unittest.TestCase):
2020
@pytest.mark.flaky
2121
def test_implied_dirs_performance(self):
2222
best, others = big_o.big_o(
23-
compose(consume, zipfile.CompleteDirs._implied_dirs),
23+
compose(consume, zipfile._path.CompleteDirs._implied_dirs),
2424
lambda size: [
2525
'/'.join(string.ascii_lowercase + str(n)) for n in range(size)
2626
],

Lib/test/test_zipfile/_path/test_path.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@
77
import unittest
88
import zipfile
99

10+
from test.support.os_helper import temp_dir, FakePath
11+
1012
from ._functools import compose
1113
from ._itertools import Counter
1214

1315
from ._test_params import parameterize, Invoked
1416

15-
from test.support.os_helper import temp_dir, FakePath
16-
1717

1818
class jaraco:
1919
class itertools:

0 commit comments

Comments
 (0)