diff options
author | Samuel Colvin <samcolvin@gmail.com> | 2018-12-03 23:04:15 +0000 |
---|---|---|
committer | Selwin Ong <selwin.ong@gmail.com> | 2018-12-04 06:04:15 +0700 |
commit | 2f35222ddba96ddd6fee73d2cc2d18cc37d8ddea (patch) | |
tree | 5eeed9d392d00924afda9951ebc3473a375cbf8d | |
parent | ada2ad03ca959e993a86ce7259d6d96ef91c8bfa (diff) | |
download | rq-2f35222ddba96ddd6fee73d2cc2d18cc37d8ddea.tar.gz |
skip test_1_sec_shutdown with pypy (#1020)
* skip test_1_sec_shutdown with pypy, fix #1019
* skip all HerokuWorkerShutdownTestCase with pypy
-rw-r--r-- | tests/test_worker.py | 1 |
1 files changed, 1 insertions, 0 deletions
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() |