Skip to content

Commit 936f4a9

Browse files
committed
skip on windows due to unrelated bug
1 parent 1675224 commit 936f4a9

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tests/lsp_tests/test_refactoring.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
"""Tests for refactoring requests."""
22

3+
import sys
4+
5+
import pytest
36
from hamcrest import assert_that, is_
47

58
from tests import TEST_DATA
@@ -341,6 +344,11 @@ def test_rename_package() -> None:
341344
assert_that(actual, is_(expected))
342345

343346

347+
@pytest.mark.skipif(
348+
sys.platform == "win32",
349+
reason="Fails on Windows due to how pygls handles line endings "
350+
"(https://github.com/pappasam/jedi-language-server/issues/159)",
351+
)
344352
def test_rename_package_notebook() -> None:
345353
"""Tests renaming of an imported package in a notebook."""
346354
test_root = REFACTOR_TEST_ROOT / "rename_package_test1"

0 commit comments

Comments
 (0)