Skip to content

Commit

Permalink
test: skip test on Windows for now
Browse files Browse the repository at this point in the history
see #502
  • Loading branch information
alcarney committed Oct 9, 2024
1 parent 9abde3c commit ff8bea2
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion tests/e2e/test_threaded_handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
import pytest
import pytest_asyncio
from lsprotocol import types
from pygls import IS_WIN
from pygls.exceptions import JsonRpcInternalError

if typing.TYPE_CHECKING:
Expand Down Expand Up @@ -123,9 +124,15 @@ async def test_countdown_blocking(

@pytest.mark.asyncio(scope="function")
async def test_countdown_threaded(
threaded_handlers: Tuple[BaseLanguageClient, types.InitializeResult], uri_for
threaded_handlers: Tuple[BaseLanguageClient, types.InitializeResult],
uri_for,
transport,
):
"""Ensure that the countdown threaded command is working as expected."""

if IS_WIN and transport == "tcp":
pytest.skip("see https://github.com/openlawlibrary/pygls/issues/502")

client, initialize_result = threaded_handlers

completion_options = initialize_result.capabilities.completion_provider
Expand Down

0 comments on commit ff8bea2

Please sign in to comment.