From 129df0593269ac45da1d981f9c3ac9dcc5dc45e5 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Wed, 7 Oct 2015 22:04:30 +0200 Subject: [PATCH] ipc: Skip socketOptions test on Qt < 5.4. --- tests/unit/misc/test_ipc.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/unit/misc/test_ipc.py b/tests/unit/misc/test_ipc.py index a8f45400c..e7fd64bdd 100644 --- a/tests/unit/misc/test_ipc.py +++ b/tests/unit/misc/test_ipc.py @@ -897,6 +897,8 @@ def test_socket_options_listen_problem(qlocalserver, short_tmpdir): @pytest.mark.posix +@pytest.mark.skipif(not qtutils.version_check('5.4'), + reason="setSocketOptions is even more broken on Qt < 5.4.") def test_socket_options_address_in_use_problem(qlocalserver, short_tmpdir): """Qt seems to ignore AddressInUseError when using socketOptions.