From bf9a897ce8de1a0717a27801dc77dbf1e1e73d14 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Sun, 6 Sep 2015 16:42:44 +0200 Subject: [PATCH] Skip some more IPC tests on Windows. --- tests/unit/misc/test_ipc.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/unit/misc/test_ipc.py b/tests/unit/misc/test_ipc.py index 310d15ddc..20c03d9ff 100644 --- a/tests/unit/misc/test_ipc.py +++ b/tests/unit/misc/test_ipc.py @@ -477,6 +477,7 @@ class TestSendOrListen: setattr(m, attr, getattr(QLocalSocket, attr)) return m + @pytest.mark.posix # Flaky on Windows def test_normal_connection(self, caplog, qtbot, args): ret_server = ipc.send_or_listen(args) assert isinstance(ret_server, ipc.IPCServer) @@ -565,7 +566,8 @@ class TestSendOrListen: ] assert msgs[-5:] == error_msgs - def test_listen_error(self, qlocalserver_mock, caplog, args): + @pytest.mark.posix # Flaky on Windows + def test_error_while_listening(self, qlocalserver_mock, caplog, args): """Test an error with the first listen call.""" qlocalserver_mock().listen.return_value = False err = QAbstractSocket.SocketResourceError