You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Incorrect pyc cache loaded when test file is updated in short time #13292
the test file is modified and reload in short time, when the 2nd test execution start, it will still load the test file before modified from __pycache__, so the test will randomly failed.
Activity
fix pytest-dev#13292
fix pytest-dev#13292
Zac-HD commentedon Nov 3, 2025
Closing per #13293 (comment), with some hope of #11418 improving things.
assertion/rewrite: always use checked-hash pyc invalidation