diff options
author | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2024-06-04 19:16:43 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-04 19:16:43 (GMT) |
commit | 109e1082ea92f89d42cd70f2cc7ca6fba6be9bab (patch) | |
tree | 7a3950c01c26796e9b663c39d3340985df602d04 | |
parent | 710cbea6604d27c7d59ae4953bf522b997a82cc7 (diff) | |
download | cpython-109e1082ea92f89d42cd70f2cc7ca6fba6be9bab.zip cpython-109e1082ea92f89d42cd70f2cc7ca6fba6be9bab.tar.gz cpython-109e1082ea92f89d42cd70f2cc7ca6fba6be9bab.tar.bz2 |
gh-119819: Update test to skip if _multiprocessing is unavailable. (GH-120067)
-rw-r--r-- | Lib/test/test_logging.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_logging.py b/Lib/test/test_logging.py index d3e5ac2..0c9a24e 100644 --- a/Lib/test/test_logging.py +++ b/Lib/test/test_logging.py @@ -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 |