Skip to content

Commit d88702c

Browse files
committed
Skip tests on windows.
1 parent 1b3f435 commit d88702c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/test_debugging.py

+4
Original file line numberDiff line numberDiff line change
@@ -489,6 +489,8 @@ def test_function():
489489

490490

491491
@pytest.mark.end_to_end()
492+
@pytest.mark.skipif(not IS_PEXPECT_INSTALLED, reason="pexpect is not installed.")
493+
@pytest.mark.skipif(sys.platform == "win32", reason="pexpect cannot spawn on Windows.")
492494
def test_pdb_with_task_that_returns(tmp_path, runner):
493495
source = """
494496
from typing_extensions import Annotated
@@ -505,6 +507,8 @@ def task_example() -> Annotated[str, Path("data.txt")]:
505507

506508

507509
@pytest.mark.end_to_end()
510+
@pytest.mark.skipif(not IS_PEXPECT_INSTALLED, reason="pexpect is not installed.")
511+
@pytest.mark.skipif(sys.platform == "win32", reason="pexpect cannot spawn on Windows.")
508512
def test_trace_with_task_that_returns(tmp_path):
509513
source = """
510514
from typing_extensions import Annotated

0 commit comments

Comments
 (0)