Codebase list python-procrunner / e969e92
call python directly Markus Gerstel 5 years ago
1 changed file(s) with 2 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
1818 assert result['stderr'] == b''
1919
2020 def test_decode_invalid_utf8_input(capsys):
21 command = [sys.executable, '-c', 'import sys; sys.stdout.write("".join(chr(x) for x in '
21 command = ['python', '-c', 'import sys;'
22 'sys.stdout.write("".join(chr(x) for x in '
2223 '(0x74,0x65,0x73,0x74,0xa0,0x73,0x74,0x72,0x69,0x6e,0x67,0x0a)'
2324 '))']
2425 result = procrunner.run(command)