From 729be7e7cc9fa09349b57d77ffc58087231d9e4e Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Thu, 10 Sep 2015 08:21:37 +0200 Subject: [PATCH] ipc: Skip problematic test on Ubuntu Trusty. --- tests/unit/misc/test_ipc.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/unit/misc/test_ipc.py b/tests/unit/misc/test_ipc.py index 29f6f7d99..37e3e7dc8 100644 --- a/tests/unit/misc/test_ipc.py +++ b/tests/unit/misc/test_ipc.py @@ -32,7 +32,7 @@ from unittest import mock import pytest import py.path # pylint: disable=import-error -from PyQt5.QtCore import pyqtSignal, QObject +from PyQt5.QtCore import pyqtSignal, QObject, PYQT_VERSION from PyQt5.QtNetwork import QLocalServer, QLocalSocket, QAbstractSocket from PyQt5.QtTest import QSignalSpy @@ -325,6 +325,9 @@ class TestListen: assert file_mode_ok or dir_mode_ok @pytest.mark.posix + @pytest.mark.skipif(PYQT_VERSION < 0x050300, reason="Breaks stuff - " + "FIXME: Remove this when there's a new pytest-qt " + "release!") def test_atime_update(self, qtbot, ipc_server): ipc_server._atime_timer.setInterval(500) # We don't want to wait 6h ipc_server.listen()