]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-102209: Disable the timeout in test_implied_dirs_performance. (#102225)
authorJason R. Coombs <jaraco@jaraco.com>
Fri, 24 Feb 2023 22:58:10 +0000 (17:58 -0500)
committerGitHub <noreply@github.com>
Fri, 24 Feb 2023 22:58:10 +0000 (17:58 -0500)
Disable the timeout in test_implied_dirs_performance. Workaround for #102209 until I can work out a more robust test for linearity.

Lib/test/test_zipfile/test_path.py

index 92fda690b2fc5000edb248f0dce1091dde151c21..53cbef15a17dc636d04995309b4dfe284a4b2916 100644 (file)
@@ -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)