Skip to content

Commit

Permalink
gh-102209: Disable the timeout in test_implied_dirs_performance. (#10…
Browse files Browse the repository at this point in the history
…2225)

Disable the timeout in test_implied_dirs_performance. Workaround for #102209 until I can work out a more robust test for linearity.
  • Loading branch information
jaraco committed Feb 24, 2023
1 parent 2db23d1 commit 89b4c12
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Lib/test/test_zipfile/test_path.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 89b4c12

Please sign in to comment.