From 261c44bea9247ae3d86f2711e44bfd470a30fd3e Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Mon, 8 Jun 2015 07:42:17 +0200 Subject: [PATCH] Fix TestPyQIODevice.test_qprocess on Windows. --- tests/utils/test_qtutils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/utils/test_qtutils.py b/tests/utils/test_qtutils.py index 220297761..e74c61ed5 100644 --- a/tests/utils/test_qtutils.py +++ b/tests/utils/test_qtutils.py @@ -770,7 +770,7 @@ class TestPyQIODevice: assert str(excinfo.value) == 'Random access not allowed!' proc.waitForFinished(1000) proc.kill() - assert dev.read() == b'Hello World\n' + assert dev.read().rstrip() == b'Hello World' def test_truncate(self, pyqiodev): with pytest.raises(io.UnsupportedOperation):