Skip to content

Commit

Permalink
skip new tests on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
astaric committed Mar 21, 2023
1 parent 8b9da42 commit 57a1dea
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tests/test_pipelines.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand All @@ -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(
Expand All @@ -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(
Expand Down

0 comments on commit 57a1dea

Please sign in to comment.