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 5a3515a commit 3c2f649
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 3c2f649

Please sign in to comment.