Fixes xargs partition length on Windows for EXE hooks

This commit is contained in:
Alex Marvin 2024-02-07 21:17:07 -06:00 committed by GitHub
parent 73848383f2
commit 9da305e185
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -243,7 +243,7 @@ def test_xargs_color_true_makes_tty():
@pytest.mark.xfail(os.name == 'posix', reason='nt only')
@pytest.mark.parametrize('filename', ('t.bat', 't.cmd', 'T.CMD'))
@pytest.mark.parametrize('filename', ('t.bat', 't.cmd', 'T.CMD', 't.exe'))
def test_xargs_with_batch_files(tmpdir, filename):
f = tmpdir.join(filename)
f.write('echo it works\n')