diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2024-06-04 19:43:52 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-04 19:43:52 (GMT) |
commit | 008f9dd02711a2129b3b6272eccbce21b1a9a38b (patch) | |
tree | f9a01ab022a1d941e3b8245fd3d76fc69d9b4402 | |
parent | 210cd98f75f14cc19c1517cd6d556f7f9cfa4697 (diff) | |
download | cpython-008f9dd02711a2129b3b6272eccbce21b1a9a38b.zip cpython-008f9dd02711a2129b3b6272eccbce21b1a9a38b.tar.gz cpython-008f9dd02711a2129b3b6272eccbce21b1a9a38b.tar.bz2 |
[3.12] gh-119819: Update test to skip if _multiprocessing is unavailable. (GH-120067) (GH-120071)
(cherry picked from commit 109e1082ea92f89d42cd70f2cc7ca6fba6be9bab)
-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 d2a392b..38caa56 100644 --- a/Lib/test/test_logging.py +++ b/Lib/test/test_logging.py @@ -3894,9 +3894,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 |