mirror of
https://github.com/python/cpython.git
synced 2025-08-09 11:29:45 +00:00
[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 5482a939ac
)
Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
This commit is contained in:
parent
09a85eaa4c
commit
6ffbd934aa
2 changed files with 3 additions and 3 deletions
|
@ -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)
|
||||
],
|
||||
|
|
|
@ -7,13 +7,13 @@ import sys
|
|||
import unittest
|
||||
import zipfile
|
||||
|
||||
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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue