Skip to content

Commit 89b4c12

Browse files
authored
pythongh-102209: Disable the timeout in test_implied_dirs_performance. (python#102225)
Disable the timeout in test_implied_dirs_performance. Workaround for python#102209 until I can work out a more robust test for linearity.
1 parent 2db23d1 commit 89b4c12

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Lib/test/test_zipfile/test_path.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,8 @@ def test_joinpath_constant_time(self):
330330
# Check the file iterated all items
331331
assert entries.count == self.HUGE_ZIPFILE_NUM_ENTRIES
332332

333-
@set_timeout(3)
333+
# timeout disabled due to #102209
334+
# @set_timeout(3)
334335
def test_implied_dirs_performance(self):
335336
data = ['/'.join(string.ascii_lowercase + str(n)) for n in range(10000)]
336337
zipfile.CompleteDirs._implied_dirs(data)

0 commit comments

Comments
 (0)