From 662ca63f32e0a1bbe455f344f9e4876da4ccad20 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Sun, 1 Dec 2024 16:25:34 -0600 Subject: [PATCH] x --- test_six.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test_six.py b/test_six.py index 2fe78eef..4a911b6f 100644 --- a/test_six.py +++ b/test_six.py @@ -233,8 +233,8 @@ def test_map(): def test_getoutput(): from six.moves import getoutput - output = getoutput('echo "foo"') - assert output == 'foo' + output = getoutput('dir' if sys.platform.startswith('win') else 'echo foo') + assert output != '' def test_zip():