From 2f35222ddba96ddd6fee73d2cc2d18cc37d8ddea Mon Sep 17 00:00:00 2001 From: Samuel Colvin Date: Mon, 3 Dec 2018 23:04:15 +0000 Subject: [PATCH] skip test_1_sec_shutdown with pypy (#1020) * skip test_1_sec_shutdown with pypy, fix #1019 * skip all HerokuWorkerShutdownTestCase with pypy --- tests/test_worker.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_worker.py b/tests/test_worker.py index d56b5cb..9a18a37 100644 --- a/tests/test_worker.py +++ b/tests/test_worker.py @@ -964,6 +964,7 @@ class TestWorkerSubprocess(RQTestCase): @pytest.mark.skipif(sys.platform == 'darwin', reason='requires Linux signals') +@skipIf('pypy' in sys.version.lower(), 'these tests often fail on pypy') class HerokuWorkerShutdownTestCase(TimeoutTestCase, RQTestCase): def setUp(self): super(HerokuWorkerShutdownTestCase, self).setUp()