aboutsummaryrefslogtreecommitdiff
path: root/Misc
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2020-06-18 18:56:43 +0200
committerGitHub <noreply@github.com>2020-06-18 18:56:43 +0200
commite8056180a13b6755e4e3e5505b7bf03f79da29fb (patch)
tree3b7ee3611f140572e4baefb9aab46a5b0fa4653e /Misc
parentbpo-41003: Fix test_copyreg when numpy is installed (GH-20935) (GH-20945) (GH... (diff)
downloadcpython-e8056180a13b6755e4e3e5505b7bf03f79da29fb.tar.gz
cpython-e8056180a13b6755e4e3e5505b7bf03f79da29fb.tar.bz2
cpython-e8056180a13b6755e4e3e5505b7bf03f79da29fb.zip
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)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Tests/2020-06-17-18-00-21.bpo-38377.jfg4TH.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Tests/2020-06-17-18-00-21.bpo-38377.jfg4TH.rst b/Misc/NEWS.d/next/Tests/2020-06-17-18-00-21.bpo-38377.jfg4TH.rst
new file mode 100644
index 00000000000..11a30761d36
--- /dev/null
+++ b/Misc/NEWS.d/next/Tests/2020-06-17-18-00-21.bpo-38377.jfg4TH.rst
@@ -0,0 +1,4 @@
+On Linux, skip tests using multiprocessing if the current user cannot create
+a file in ``/dev/shm/`` directory. Add the
+:func:`~test.support.skip_if_broken_multiprocessing_synchronize` function to
+the :mod:`test.support` module.