mirror of https://github.com/python/cpython
Re-order imports to align with zipp 3.18.2 (#119587)
This commit is contained in:
parent
5d04cc50e5
commit
5482a939ac
|
@ -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)
|
||||||
],
|
],
|
||||||
|
|
|
@ -8,13 +8,13 @@ import unittest
|
||||||
import zipfile
|
import zipfile
|
||||||
import zipfile._path
|
import zipfile._path
|
||||||
|
|
||||||
|
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…
Reference in New Issue