Fix newline stripping.
This commit is contained in:
parent
fc32858e5c
commit
36a2f4a15a
@ -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', [
|
||||
|
Loading…
Reference in New Issue
Block a user