[Python-checkins] gh-102209: Disable the timeout in test_implied_dirs_performance. (#102225)

jaraco webhook-mailer at python.org
Fri Feb 24 17:58:16 EST 2023


https://github.com/python/cpython/commit/89b4c1205327cc8032f4a39e3dfbdb59009a0704
commit: 89b4c1205327cc8032f4a39e3dfbdb59009a0704
branch: main
author: Jason R. Coombs <jaraco at jaraco.com>
committer: jaraco <jaraco at jaraco.com>
date: 2023-02-24T17:58:10-05:00
summary:

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.

files:
M Lib/test/test_zipfile/test_path.py

diff --git a/Lib/test/test_zipfile/test_path.py b/Lib/test/test_zipfile/test_path.py
index 92fda690b2fc..53cbef15a17d 100644
--- a/Lib/test/test_zipfile/test_path.py
+++ b/Lib/test/test_zipfile/test_path.py
@@ -330,7 +330,8 @@ def test_joinpath_constant_time(self):
         # 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)



More information about the Python-checkins mailing list