summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_multiprocessing.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_multiprocessing.py')
-rw-r--r--Lib/test/test_multiprocessing.py36
1 files changed, 18 insertions, 18 deletions
diff --git a/Lib/test/test_multiprocessing.py b/Lib/test/test_multiprocessing.py
index 89ba6af..eba02a9 100644
--- a/Lib/test/test_multiprocessing.py
+++ b/Lib/test/test_multiprocessing.py
@@ -1724,24 +1724,24 @@ class _TestLogging(BaseTestCase):
logger.setLevel(level=LOG_LEVEL)
-class _TestLoggingProcessName(BaseTestCase):
-
- def handle(self, record):
- assert record.processName == multiprocessing.current_process().name
- self.__handled = True
-
- def test_logging(self):
- handler = logging.Handler()
- handler.handle = self.handle
- self.__handled = False
- # Bypass getLogger() and side-effects
- logger = logging.getLoggerClass()(
- 'multiprocessing.test.TestLoggingProcessName')
- logger.addHandler(handler)
- logger.propagate = False
-
- logger.warn('foo')
- assert self.__handled
+# class _TestLoggingProcessName(BaseTestCase):
+#
+# def handle(self, record):
+# assert record.processName == multiprocessing.current_process().name
+# self.__handled = True
+#
+# def test_logging(self):
+# handler = logging.Handler()
+# handler.handle = self.handle
+# self.__handled = False
+# # Bypass getLogger() and side-effects
+# logger = logging.getLoggerClass()(
+# 'multiprocessing.test.TestLoggingProcessName')
+# logger.addHandler(handler)
+# logger.propagate = False
+#
+# logger.warn('foo')
+# assert self.__handled
#
# Test to verify handle verification, see issue 3321