Skip to content

Commit

Permalink
Skip test_eventloop on Trio
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbrochart committed Feb 25, 2025
1 parent a7920e0 commit 0c7e88e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/test_eventloop.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ def _setup_env():

@windows_skip
@pytest.mark.skipif(sys.platform == "darwin", reason="hangs on macos")
@pytest.mark.parametrize("anyio_backend", ["asyncio"])
def test_tk_loop(kernel):
def do_thing():
time.sleep(1)
Expand Down Expand Up @@ -90,16 +91,19 @@ def do_thing():


@windows_skip
@pytest.mark.parametrize("anyio_backend", ["asyncio"])
def test_enable_gui(kernel):
enable_gui("tk", kernel)


@pytest.mark.skipif(sys.platform != "darwin", reason="MacOS-only")
@pytest.mark.parametrize("anyio_backend", ["asyncio"])
def test_cocoa_loop(kernel):
loop_cocoa(kernel)


@pytest.mark.parametrize("gui", qt_guis_avail)
@pytest.mark.parametrize("anyio_backend", ["asyncio"])
def test_qt_enable_gui(gui, kernel, capsys):
if os.getenv("GITHUB_ACTIONS", None) == "true" and gui == "qt5":
pytest.skip("Qt5 and GitHub action crash CPython")
Expand Down

0 comments on commit 0c7e88e

Please sign in to comment.