[Python-checkins] r76487 - python/trunk/Lib/test/test_multiprocessing.py
jesse.noller
python-checkins at python.org
Tue Nov 24 15:17:30 CET 2009
Author: jesse.noller
Date: Tue Nov 24 15:17:29 2009
New Revision: 76487
Log:
comment out test added in r76438, which caused refleaks
Modified:
python/trunk/Lib/test/test_multiprocessing.py
Modified: python/trunk/Lib/test/test_multiprocessing.py
==============================================================================
--- python/trunk/Lib/test/test_multiprocessing.py (original)
+++ python/trunk/Lib/test/test_multiprocessing.py Tue Nov 24 15:17:29 2009
@@ -1723,24 +1723,24 @@
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
More information about the Python-checkins
mailing list