]> 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 16:56:43 +0000 (18:56 +0200)
committerGitHub <noreply@github.com>
Thu, 18 Jun 2020 16:56:43 +0000 (18:56 +0200)
commite8056180a13b6755e4e3e5505b7bf03f79da29fb
tree3b7ee3611f140572e4baefb9aab46a5b0fa4653e
parent3d974b2fc681ddd0ec722cf631008d5941da52b8
bpo-38377: Add support.skip_if_broken_multiprocessing_synchronize() (GH-20944) (GH-20962) (GH-20966)

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)
(cherry picked from commit b1e736113484c99acb57e4acb417b91a9e58e7ff)
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]