7
7
8
8
import pytest
9
9
10
+ from pylsp import IS_WIN
10
11
from pylsp .python_lsp import PythonLSPServer
11
12
from pylsp .lsp import NotebookCellKind
12
13
@@ -58,6 +59,7 @@ def client_server_pair():
58
59
client_server_pair_obj .client ._endpoint .notify ("exit" )
59
60
60
61
62
+ @pytest .mark .skipif (IS_WIN , reason = "Flaky on Windows" )
61
63
def test_initialize (client_server_pair ): # pylint: disable=redefined-outer-name
62
64
client , server = client_server_pair
63
65
response = client ._endpoint .request (
@@ -72,6 +74,7 @@ def test_initialize(client_server_pair): # pylint: disable=redefined-outer-name
72
74
assert "notebookDocumentSync" in response ["capabilities" ].keys ()
73
75
74
76
77
+ @pytest .mark .skipif (IS_WIN , reason = "Flaky on Windows" )
75
78
def test_notebook_document__did_open (
76
79
client_server_pair ,
77
80
): # pylint: disable=redefined-outer-name
@@ -235,6 +238,7 @@ def test_notebook_document__did_open(
235
238
mock_notify .assert_has_calls (expected_call_args )
236
239
237
240
241
+ @pytest .mark .skipif (IS_WIN , reason = "Flaky on Windows" )
238
242
def test_notebook_document__did_change (
239
243
client_server_pair ,
240
244
): # pylint: disable=redefined-outer-name
@@ -506,6 +510,7 @@ def test_notebook_document__did_change(
506
510
mock_notify .assert_has_calls (expected_call_args )
507
511
508
512
513
+ @pytest .mark .skipif (IS_WIN , reason = "Flaky on Windows" )
509
514
def test_notebook__did_close (
510
515
client_server_pair ,
511
516
): # pylint: disable=redefined-outer-name
0 commit comments