Skip to content

Commit

Permalink
Skip test_uvloop_policy() on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
agronholm committed Dec 15, 2021
1 parent d60076b commit 7e1e24b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ def test_run_max_threads(event_loop, max_threads):

@pytest.mark.skipif(platform.python_implementation() != 'CPython',
reason='uvloop only works on CPython')
@pytest.mark.skipif(platform.system() == 'Windows',
reason='uvloop does not work on Windows')
def test_uvloop_policy(caplog):
"""Test that the runner switches to a different event loop policy when instructed to."""
caplog.set_level(logging.INFO)
Expand Down

0 comments on commit 7e1e24b

Please sign in to comment.