From fcec17c8e1014aa72812af2667a70924b17b3ac7 Mon Sep 17 00:00:00 2001 From: Jannis Leidel Date: Tue, 29 Nov 2016 09:31:10 +0100 Subject: [PATCH] =?UTF-8?q?Stop=20running=20some=20Heroku=20tests=20on=20m?= =?UTF-8?q?acOS=20since=20it=E2=80=99s=20missing=20the=20appropriate=20sig?= =?UTF-8?q?nals?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Refs issue #584. --- tests/test_worker.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/test_worker.py b/tests/test_worker.py index 4923379..d78902e 100644 --- a/tests/test_worker.py +++ b/tests/test_worker.py @@ -10,6 +10,9 @@ import signal import time from multiprocessing import Process import subprocess +import sys + +import pytest from tests import RQTestCase, slow from tests.fixtures import (create_file, create_file_after_timeout, @@ -712,6 +715,7 @@ class TestWorkerSubprocess(RQTestCase): assert q.count == 0 +@pytest.mark.skipif(sys.platform == 'darwin', reason='requires Linux signals') class HerokuWorkerShutdownTestCase(TimeoutTestCase, RQTestCase): def setUp(self): super(HerokuWorkerShutdownTestCase, self).setUp()