GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [3.13] gh-119819: Conditional skip of logging tests that require mult… · python/cpython@3c88898

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • Lib/test
    • test_logging.py
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎Lib/test/test_logging.py‎

Copy file name to clipboardExpand all lines: Lib/test/test_logging.py
+2-3Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3898,6 +3898,7 @@ def do_queuehandler_configuration(self, qspec, lspec):
38983898
self.addCleanup(os.remove, fn)
38993899

39003900
@threading_helper.requires_working_threading()
3901+
@support.requires_subprocess()
39013902
def test_config_queue_handler(self):
39023903
q = CustomQueue()
39033904
dq = {
@@ -3926,12 +3927,10 @@ def test_config_queue_handler(self):
39263927
msg = str(ctx.exception)
39273928
self.assertEqual(msg, "Unable to configure handler 'ah'")
39283929

3930+
@support.requires_subprocess()
39293931
def test_multiprocessing_queues(self):
39303932
# See gh-119819
39313933

3932-
# will skip test if it's not available
3933-
import_helper.import_module('_multiprocessing')
3934-
39353934
cd = copy.deepcopy(self.config_queue_handler)
39363935
from multiprocessing import Queue as MQ, Manager as MM
39373936
q1 = MQ() # this can't be pickled

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.