diff --git a/tests/test_pipelines.py b/tests/test_pipelines.py index 3973f5ae9..1a8ba6c73 100644 --- a/tests/test_pipelines.py +++ b/tests/test_pipelines.py @@ -4,10 +4,11 @@ import pytest import plumbum +from plumbum._testtools import skip_on_windows from plumbum.commands import BaseCommand -@pytest.mark.xfail(env.WIN, reason="TODO: only fixed on posix systems") +@skip_on_windows @pytest.mark.timeout(3) def test_draining_stderr(generate_cmd, process_cmd): stdout, stderr = get_output_with_iter_lines( @@ -20,7 +21,7 @@ def test_draining_stderr(generate_cmd, process_cmd): assert len(stdout) == 5000 -@pytest.mark.xfail(env.WIN, reason="TODO: only fixed on posix systems") +@skip_on_windows @pytest.mark.timeout(3) def test_draining_stderr_with_stderr_redirect(tmp_path, generate_cmd, process_cmd): stdout, stderr = get_output_with_iter_lines( @@ -33,7 +34,7 @@ def test_draining_stderr_with_stderr_redirect(tmp_path, generate_cmd, process_cm assert len(stdout) == 5000 -@pytest.mark.xfail(env.WIN, reason="TODO: only fixed on posix systems") +@skip_on_windows @pytest.mark.timeout(3) def test_draining_stderr_with_stdout_redirect(tmp_path, generate_cmd, process_cmd): stdout, stderr = get_output_with_iter_lines(