mirror of
https://github.com/python/cpython.git
synced 2025-08-15 22:30:42 +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
|
@pytest.mark.flaky
|
||||||
def test_implied_dirs_performance(self):
|
def test_implied_dirs_performance(self):
|
||||||
best, others = big_o.big_o(
|
best, others = big_o.big_o(
|
||||||
compose(consume, zipfile.CompleteDirs._implied_dirs),
|
compose(consume, zipfile._path.CompleteDirs._implied_dirs),
|
||||||
lambda size: [
|
lambda size: [
|
||||||
'/'.join(string.ascii_lowercase + str(n)) for n in range(size)
|
'/'.join(string.ascii_lowercase + str(n)) for n in range(size)
|
||||||
],
|
],
|
||||||
|
|
|
@ -7,13 +7,13 @@ import sys
|
||||||
import unittest
|
import unittest
|
||||||
import zipfile
|
import zipfile
|
||||||
|
|
||||||
|
from test.support.os_helper import temp_dir, FakePath
|
||||||
|
|
||||||
from ._functools import compose
|
from ._functools import compose
|
||||||
from ._itertools import Counter
|
from ._itertools import Counter
|
||||||
|
|
||||||
from ._test_params import parameterize, Invoked
|
from ._test_params import parameterize, Invoked
|
||||||
|
|
||||||
from test.support.os_helper import temp_dir, FakePath
|
|
||||||
|
|
||||||
|
|
||||||
class jaraco:
|
class jaraco:
|
||||||
class itertools:
|
class itertools:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue