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():