diff --git a/Lib/test/test_logging.py b/Lib/test/test_logging.py index e6daea2333b2062..6d688d4b81bbf4f 100644 --- a/Lib/test/test_logging.py +++ b/Lib/test/test_logging.py @@ -3972,6 +3972,7 @@ def test_config_queue_handler_invalid_config_does_not_create_multiprocessing_man ) manager.assert_not_called() + @skip_if_tsan_fork @support.requires_subprocess() def test_multiprocessing_queues(self): # See gh-119819 @@ -4284,6 +4285,7 @@ def test_queue_listener_with_multiple_handlers(self): import multiprocessing from unittest.mock import patch + @skip_if_tsan_fork @threading_helper.requires_working_threading() class QueueListenerTest(BaseTest): """ @@ -5184,6 +5186,7 @@ def _extract_logrecord_process_name(key, logMultiprocessing, conn=None): else: return results + @skip_if_tsan_fork def test_multiprocessing(self): support.skip_if_broken_multiprocessing_synchronize() multiprocessing_imported = 'multiprocessing' in sys.modules