Skip to content

Reuse existing event loop if one is already running #543

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)?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions