Skip to content

Reuse existing event loop if one is already running #543

@medihack

Description

@medihack

When I run async tests using pytest-asyncio after integration tests using playwright-pytest (only using playwright.sync_api calls), then those tests fail with the error already described in #359 . I don't know much about the internals of pytest-asyncio, but wouldn't it be possible to reuse the event loop when one is already running (and only try to start a new one when not)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions