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

add a test depicting the set_event_loop_policy() issue #24

Open
slayoo opened this issue Oct 23, 2023 · 2 comments
Open

add a test depicting the set_event_loop_policy() issue #24

slayoo opened this issue Oct 23, 2023 · 2 comments

Comments

@slayoo
Copy link
Member

slayoo commented Oct 23, 2023

In test_notebooks, we have:

# pylint: disable=wrong-import-position
# https://bugs.python.org/issue37373
import sys

if sys.platform == "win32" and sys.version_info[:2] >= (3, 7):
    import asyncio

    asyncio.set_event_loop_policy(asyncio.WindowsSelectorEventLoopPolicy())

which is not covered by CI (i.e., moving it around does not trigger a CI failure, while the code suggests that it need to be placed before other imports).

We should add a test file that depicts the problem

Copy link

Stale issue message

Copy link

github-actions bot commented Apr 5, 2024

Stale issue message

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant