mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
[3.13] gh-119819: Update test to skip if _multiprocessing is unavailable. (GH-120067) (GH-120072)
(cherry picked from commit 109e1082ea
)
This commit is contained in:
parent
eea45ea213
commit
7edc6bd627
1 changed files with 1 additions and 1 deletions
|
@ -3926,9 +3926,9 @@ class ConfigDictTest(BaseTest):
|
|||
msg = str(ctx.exception)
|
||||
self.assertEqual(msg, "Unable to configure handler 'ah'")
|
||||
|
||||
@unittest.skipIf(support.is_wasi, "WASI does not have multiprocessing.")
|
||||
def test_multiprocessing_queues(self):
|
||||
# See gh-119819
|
||||
import_helper.import_module('_multiprocessing') # will skip test if it's not available
|
||||
cd = copy.deepcopy(self.config_queue_handler)
|
||||
from multiprocessing import Queue as MQ, Manager as MM
|
||||
q1 = MQ() # this can't be pickled
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue