summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_re.py
diff options
context:
space:
mode:
authorGregory P. Smith <greg@krypto.org>2023-02-03 23:20:46 (GMT)
committerGitHub <noreply@github.com>2023-02-03 23:20:46 (GMT)
commitd4c410f0f922683f38c9d435923939d037fbd8c2 (patch)
treeb776e07cb59767c41176c73e568a11d4957f2e51 /Lib/test/test_re.py
parentf6c53b80a16f63825479c5ca0f8a5e2829c3f505 (diff)
downloadcpython-d4c410f0f922683f38c9d435923939d037fbd8c2.zip
cpython-d4c410f0f922683f38c9d435923939d037fbd8c2.tar.gz
cpython-d4c410f0f922683f38c9d435923939d037fbd8c2.tar.bz2
gh-84559: Remove the new multiprocessing warning, too disruptive. (#101551)
This reverts the core of #100618 while leaving relevant documentation improvements and minor refactorings in place.
Diffstat (limited to 'Lib/test/test_re.py')
-rw-r--r--Lib/test/test_re.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/test/test_re.py b/Lib/test/test_re.py
index eacb1a7..11628a2 100644
--- a/Lib/test/test_re.py
+++ b/Lib/test/test_re.py
@@ -2431,8 +2431,7 @@ class ReTests(unittest.TestCase):
input_js = '''a(function() {
///////////////////////////////////////////////////////////////////
});'''
- mp = multiprocessing.get_context('spawn')
- p = mp.Process(target=pattern.sub, args=('', input_js))
+ p = multiprocessing.Process(target=pattern.sub, args=('', input_js))
p.start()
p.join(SHORT_TIMEOUT)
try: