diff options
author | Gregory P. Smith <greg@krypto.org> | 2023-02-03 23:20:46 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-03 23:20:46 (GMT) |
commit | d4c410f0f922683f38c9d435923939d037fbd8c2 (patch) | |
tree | b776e07cb59767c41176c73e568a11d4957f2e51 /Lib/test/test_re.py | |
parent | f6c53b80a16f63825479c5ca0f8a5e2829c3f505 (diff) | |
download | cpython-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.py | 3 |
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: |