Fix newline stripping.

This commit is contained in:
Florian Bruhin 2015-06-11 23:14:56 +02:00
parent fc32858e5c
commit 36a2f4a15a

View File

@ -70,7 +70,7 @@ def test_start(proc, qtbot):
argv = _py_proc("import sys; print('test'); sys.exit(0)")
proc.start(*argv)
assert bytes(proc._proc.readAll()).rstrip(b'\n') == b'test'
assert bytes(proc._proc.readAll()).rstrip() == b'test'
@pytest.mark.parametrize('argv', [