]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-38377: Add support.skip_if_broken_multiprocessing_synchronize() (GH-20944)
authorVictor Stinner <vstinner@python.org>
Thu, 18 Jun 2020 12:53:19 +0000 (14:53 +0200)
committerGitHub <noreply@github.com>
Thu, 18 Jun 2020 12:53:19 +0000 (14:53 +0200)
commitddbeb2f3e02a510c5784ffd74c5e09e8c70b5881
tree5d992ac64b1be1b2329c398fc82323b2e433a344
parent2c2a4f3d8545784c6e4ca8128bfc706916080712
bpo-38377: Add support.skip_if_broken_multiprocessing_synchronize() (GH-20944)

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.
Doc/library/test.rst
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]