summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_multiprocessing.py
diff options
context:
space:
mode:
authorJesse Noller <jnoller@gmail.com>2009-11-24 14:22:24 (GMT)
committerJesse Noller <jnoller@gmail.com>2009-11-24 14:22:24 (GMT)
commitf4ae35fa019139c3e46cef5e735d23fe5290aa78 (patch)
treed0ddf353cee0c509ea1ca92e9008f76766a0f644 /Lib/test/test_multiprocessing.py
parent4ca33d1d778e975eebbff5afcb5f3423f6144396 (diff)
downloadcpython-f4ae35fa019139c3e46cef5e735d23fe5290aa78.zip
cpython-f4ae35fa019139c3e46cef5e735d23fe5290aa78.tar.gz
cpython-f4ae35fa019139c3e46cef5e735d23fe5290aa78.tar.bz2
Merged revisions 76487 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r76487 | jesse.noller | 2009-11-24 09:17:29 -0500 (Tue, 24 Nov 2009) | 1 line comment out test added in r76438, which caused refleaks ........
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