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

Mention scoping limitation for event loop fixtures #577

Merged

Commits on Jul 12, 2023

  1. [docs] Explain that scopes of event_loop fixtures should not overlap.

    The example for overriding event loop scopes now uses a module scope rather than a session scope. Due to the constraint that event_loop fixture scopes should not overlap, a session-scoped fixture is usually not that helpful.
    
    Addresses pytest-dev#531
    
    Signed-off-by: Michael Seifert <m.seifert@digitalernachschub.de>
    seifertm committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    97cb4db View commit details
    Browse the repository at this point in the history
  2. [feat] Extend warning message about unclosed event loops with additio…

    …nal possible cause.
    
    Closes pytest-dev#531
    
    Signed-off-by: Michael Seifert <m.seifert@digitalernachschub.de>
    seifertm committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    10b0046 View commit details
    Browse the repository at this point in the history
  3. [docs] Improved readbility of headings on the fixtures reference in t…

    …he docs.
    
    The headings no longer use the "pre-formatted" text style.
    
    Signed-off-by: Michael Seifert <m.seifert@digitalernachschub.de>
    seifertm committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    83c7716 View commit details
    Browse the repository at this point in the history