From b4b9bcc8b772c63257351fc86b08ce99b91c3037 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ionel=20Cristian=20M=C4=83rie=C8=99?= Date: Sun, 12 Jan 2020 19:19:42 +0200 Subject: [PATCH] Skip the sigterm cleanup tests on Python 3.8 since multiprocessing is buggy there. --- tests/test_pytest_cov.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_pytest_cov.py b/tests/test_pytest_cov.py index dcb4ff24..02027b62 100644 --- a/tests/test_pytest_cov.py +++ b/tests/test_pytest_cov.py @@ -1018,6 +1018,7 @@ def test_funcarg_not_active(testdir): @pytest.mark.skipif("sys.version_info[0] < 3", reason="no context manager api on Python 2") @pytest.mark.skipif('sys.platform == "win32"', reason="multiprocessing support is broken on Windows") @pytest.mark.skipif('platform.python_implementation() == "PyPy"', reason="often deadlocks on PyPy") +@pytest.mark.skipif('sys.version_info[:2] == (3, 8)', reason="deadlocks on Python 3.8, see: https://bugs.python.org/issue38227") def test_multiprocessing_pool(testdir): pytest.importorskip('multiprocessing.util') @@ -1058,6 +1059,7 @@ def test_run_target(): @pytest.mark.skipif('sys.platform == "win32"', reason="multiprocessing support is broken on Windows") @pytest.mark.skipif('platform.python_implementation() == "PyPy"', reason="often deadlocks on PyPy") +@pytest.mark.skipif('sys.version_info[:2] == (3, 8)', reason="deadlocks on Python 3.8, see: https://bugs.python.org/issue38227") def test_multiprocessing_pool_terminate(testdir): pytest.importorskip('multiprocessing.util')