summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2020-06-18 12:53:19 (GMT)
committerGitHub <noreply@github.com>2020-06-18 12:53:19 (GMT)
commitddbeb2f3e02a510c5784ffd74c5e09e8c70b5881 (patch)
tree5d992ac64b1be1b2329c398fc82323b2e433a344 /Misc
parent2c2a4f3d8545784c6e4ca8128bfc706916080712 (diff)
downloadcpython-ddbeb2f3e02a510c5784ffd74c5e09e8c70b5881.zip
cpython-ddbeb2f3e02a510c5784ffd74c5e09e8c70b5881.tar.gz
cpython-ddbeb2f3e02a510c5784ffd74c5e09e8c70b5881.tar.bz2
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.
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 0000000..11a3076
--- /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.