diff --git a/Lib/test/test_logging.py b/Lib/test/test_logging.py index d2a392bed1c8a7..38caa56dbc5f3e 100644 --- a/Lib/test/test_logging.py +++ b/Lib/test/test_logging.py @@ -3894,9 +3894,9 @@ def test_config_queue_handler(self): 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