diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2024-05-28 12:49:13 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-28 12:49:13 (GMT) |
commit | dcf585d0c180d9ef939c90bf0af35bcaa0c01bf4 (patch) | |
tree | 731e5f533a8b7a6cb98d698cd2cb20bac557b52e /Lib | |
parent | 3b111a38ea1ae395a0c33106b232ed840627939b (diff) | |
download | cpython-dcf585d0c180d9ef939c90bf0af35bcaa0c01bf4.zip cpython-dcf585d0c180d9ef939c90bf0af35bcaa0c01bf4.tar.gz cpython-dcf585d0c180d9ef939c90bf0af35bcaa0c01bf4.tar.bz2 |
[3.13] Re-order imports to align with zipp 3.18.2 (GH-119587) (#119589)
Re-order imports to align with zipp 3.18.2 (GH-119587)
(cherry picked from commit 5482a939ac18f4cd861d212c759960af8fa2b19d)
Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_zipfile/_path/test_complexity.py | 2 | ||||
-rw-r--r-- | Lib/test/test_zipfile/_path/test_path.py | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/test_zipfile/_path/test_complexity.py b/Lib/test/test_zipfile/_path/test_complexity.py index fd7ce57..b505dd7 100644 --- a/Lib/test/test_zipfile/_path/test_complexity.py +++ b/Lib/test/test_zipfile/_path/test_complexity.py @@ -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) ], diff --git a/Lib/test/test_zipfile/_path/test_path.py b/Lib/test/test_zipfile/_path/test_path.py index f6e2c8c..e5d2acf 100644 --- a/Lib/test/test_zipfile/_path/test_path.py +++ b/Lib/test/test_zipfile/_path/test_path.py @@ -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: |