diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-03-19 10:19:03 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-03-19 10:19:03 +0000 |
commit | ccce8747ac9170ce98d535ef527caa8867e5eef4 (patch) | |
tree | 6271d025d1f560e64d494c7a609daf2ba3e0f048 /tests/xargs_test.py | |
parent | Adding upstream version 3.1.1. (diff) | |
download | pre-commit-ccce8747ac9170ce98d535ef527caa8867e5eef4.tar.xz pre-commit-ccce8747ac9170ce98d535ef527caa8867e5eef4.zip |
Adding upstream version 3.2.0.upstream/3.2.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/xargs_test.py')
-rw-r--r-- | tests/xargs_test.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/xargs_test.py b/tests/xargs_test.py index 0530e50..7c41f98 100644 --- a/tests/xargs_test.py +++ b/tests/xargs_test.py @@ -187,7 +187,7 @@ def test_xargs_propagate_kwargs_to_cmd(): assert b'Pre commit is awesome' in stdout -@pytest.mark.xfail(os.name == 'nt', reason='posix only') +@pytest.mark.xfail(sys.platform == 'win32', reason='posix only') def test_xargs_color_true_makes_tty(): retcode, out = xargs.xargs( (sys.executable, '-c', 'import sys; print(sys.stdout.isatty())'), |