Codebase list python-procrunner / b31c87a
disable stdin parameter on Windows Markus Gerstel 5 years ago
2 changed file(s) with 2 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
308308 if stdin is None:
309309 stdin_pipe = None
310310 else:
311 assert sys.platform != 'win32', 'stdin argument not supported on Windows'
311312 stdin_pipe = subprocess.PIPE
312313
313314 start_time = timeit.default_timer()
2020 def test_decode_invalid_utf8_input(capsys):
2121 test_string = b'test\xa0string\n'
2222 if os.name == 'nt':
23 pytest.xfail("Test requires stdin feature which does not work on Windows")
2324 command = ['cmd.exe', '/c', 'type', 'CON']
2425 else:
2526 command = ['cat']