]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-38377: Add support.skip_if_broken_multiprocessing_synchronize() (GH-20944) (GH...
authorVictor Stinner <vstinner@python.org>
Thu, 18 Jun 2020 15:19:59 +0000 (17:19 +0200)
committerGitHub <noreply@github.com>
Thu, 18 Jun 2020 15:19:59 +0000 (17:19 +0200)
commitb1e736113484c99acb57e4acb417b91a9e58e7ff
tree8b9e94c67b0dc316bf563dfb710bfe676ac171d4
parent610a60c601fb4380eee30e15be1cd4dcbdaeec4c
bpo-38377: Add support.skip_if_broken_multiprocessing_synchronize() (GH-20944) (GH-20962)

On Linux, skip tests using multiprocessing if the current user cannot
create a file in /dev/shm/ directory. Add the
skip_if_broken_multiprocessing_synchronize() function to the
test.support module.

(cherry picked from commit ddbeb2f3e02a510c5784ffd74c5e09e8c70b5881)
Lib/test/_test_multiprocessing.py
Lib/test/support/__init__.py
Lib/test/test_asyncio/test_events.py
Lib/test/test_concurrent_futures.py
Lib/test/test_logging.py
Lib/test/test_multiprocessing_main_handling.py
Lib/test/test_venv.py
Misc/NEWS.d/next/Tests/2020-06-17-18-00-21.bpo-38377.jfg4TH.rst [new file with mode: 0644]