From b1306bd7a8b3fd9903e026a911e44cd201e69943 Mon Sep 17 00:00:00 2001 From: "James R. Barlow" Date: Tue, 6 Apr 2021 01:15:00 -0700 Subject: [PATCH] tests: skip test_bash on Windows --- tests/test_completion.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/test_completion.py b/tests/test_completion.py index fa7cde15..4ac753b8 100644 --- a/tests/test_completion.py +++ b/tests/test_completion.py @@ -5,6 +5,7 @@ # file, You can obtain one at http://mozilla.org/MPL/2.0/. +import os from subprocess import PIPE, run import pytest @@ -29,6 +30,9 @@ def test_fish(): pytest.xfail('fish is not installed') +@pytest.mark.skipif( + os.name == 'nt', reason="Windows CI workers have bash but are best left alone" +) def test_bash(): try: proc = run(