Skip to content

Commit

Permalink
Skip the sigterm cleanup tests on Python 3.8 since multiprocessing is…
Browse files Browse the repository at this point in the history
… buggy there.
  • Loading branch information
ionelmc committed Jan 12, 2020
1 parent 8f906ca commit b4b9bcc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_pytest_cov.py
Expand Up @@ -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')

Expand Down Expand Up @@ -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')

Expand Down

0 comments on commit b4b9bcc

Please sign in to comment.