summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2023-02-24 22:58:10 (GMT)
committerGitHub <noreply@github.com>2023-02-24 22:58:10 (GMT)
commit89b4c1205327cc8032f4a39e3dfbdb59009a0704 (patch)
tree80c66533327b8befedc72f92aa71ca01e03c1df5
parent2db23d10bf64bf7c061fd95c6a8079ddc5c9aa4b (diff)
downloadcpython-89b4c1205327cc8032f4a39e3dfbdb59009a0704.zip
cpython-89b4c1205327cc8032f4a39e3dfbdb59009a0704.tar.gz
cpython-89b4c1205327cc8032f4a39e3dfbdb59009a0704.tar.bz2
gh-102209: Disable the timeout in test_implied_dirs_performance. (#102225)
Disable the timeout in test_implied_dirs_performance. Workaround for #102209 until I can work out a more robust test for linearity.
-rw-r--r--Lib/test/test_zipfile/test_path.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_zipfile/test_path.py b/Lib/test/test_zipfile/test_path.py
index 92fda69..53cbef1 100644
--- a/Lib/test/test_zipfile/test_path.py
+++ b/Lib/test/test_zipfile/test_path.py
@@ -330,7 +330,8 @@ class TestPath(unittest.TestCase):
# Check the file iterated all items
assert entries.count == self.HUGE_ZIPFILE_NUM_ENTRIES
- @set_timeout(3)
+ # timeout disabled due to #102209
+ # @set_timeout(3)
def test_implied_dirs_performance(self):
data = ['/'.join(string.ascii_lowercase + str(n)) for n in range(10000)]
zipfile.CompleteDirs._implied_dirs(data)