Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix racy doctests #6103

Merged
merged 1 commit into from
Jun 12, 2023
Merged

Fix racy doctests #6103

merged 1 commit into from
Jun 12, 2023

Commits on Jun 12, 2023

  1. Fix racy doctests

    On very fast machines (in my case, a 7950X3D with gen4 storage) it's possible that the script will start running the tests before importlib figures out the files are there, and get a spurious `ModuleNotFoundError` instead. Explicitly flushing the cache before importing things seems to help it work consistently, at the cost of an extra 0.1s or so of runtime.
    K900 committed Jun 12, 2023
    Configuration menu
    Copy the full SHA
    f05014a View commit details
    Browse the repository at this point in the history