Fix TestPyQIODevice.test_qprocess on Windows.
This commit is contained in:
parent
1e982a9a84
commit
261c44bea9
@ -770,7 +770,7 @@ class TestPyQIODevice:
|
|||||||
assert str(excinfo.value) == 'Random access not allowed!'
|
assert str(excinfo.value) == 'Random access not allowed!'
|
||||||
proc.waitForFinished(1000)
|
proc.waitForFinished(1000)
|
||||||
proc.kill()
|
proc.kill()
|
||||||
assert dev.read() == b'Hello World\n'
|
assert dev.read().rstrip() == b'Hello World'
|
||||||
|
|
||||||
def test_truncate(self, pyqiodev):
|
def test_truncate(self, pyqiodev):
|
||||||
with pytest.raises(io.UnsupportedOperation):
|
with pytest.raises(io.UnsupportedOperation):
|
||||||
|
Loading…
Reference in New Issue
Block a user