Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

test_implied_dirs_performance is flaky #102209

Closed
jaraco/zipp
#94
Labels
type-bugAn unexpected behavior, bug, or error
@jaraco

Description

@jaraco

Reportedin discord, since#102018, the timing check was added totest_implied_dirs_performance and this check is frequently failing (example):

ERROR: test_implied_dirs_performance (test.test_zipfile.test_path.TestPath.test_implied_dirs_performance)----------------------------------------------------------------------Traceback (most recent call last):  File "D:\a\cpython\cpython\Lib\contextlib.py", line 80, in inner    with self._recreate_cm():  File "D:\a\cpython\cpython\Lib\test\test_zipfile\_context.py", line 30, in __exit__    raise DeadlineExceeded(duration, self.max_duration)test.test_zipfile._context.DeadlineExceeded: (3.140999999999849, 3)

These failures aren't occurring onzipp, where the check has been running for years without fail.

Furthermore, the check is currently not capturing the failure case because the invocation fails to consume the generator:

zipfile.CompleteDirs._implied_dirs(data)

That indicates that the flaky failures are due to the construction of test data:

data= ['/'.join(string.ascii_lowercase+str(n))forninrange(10000)]

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp