summaryrefslogtreecommitdiffstats
path: root/Lib/logging/__init__.py
diff options
context:
space:
mode:
authorVinay Sajip <vinay_sajip@yahoo.co.uk>2011-04-28 11:04:58 (GMT)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>2011-04-28 11:04:58 (GMT)
commit7fe1d51924b2863fb2d47eab73ee09932c02f50f (patch)
tree99e9ebd980438cbfcdcb278041ff120e7e984b22 /Lib/logging/__init__.py
parente812bf7bf6b7c1826b5e2c2488176a93cc6968bc (diff)
downloadcpython-7fe1d51924b2863fb2d47eab73ee09932c02f50f.zip
cpython-7fe1d51924b2863fb2d47eab73ee09932c02f50f.tar.gz
cpython-7fe1d51924b2863fb2d47eab73ee09932c02f50f.tar.bz2
Improved test_logging coverage.
Diffstat (limited to 'Lib/logging/__init__.py')
-rw-r--r--Lib/logging/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/logging/__init__.py b/Lib/logging/__init__.py
index cd640bb..7f7d5c9 100644
--- a/Lib/logging/__init__.py
+++ b/Lib/logging/__init__.py
@@ -296,7 +296,7 @@ class LogRecord(object):
# for an example
try:
self.processName = mp.current_process().name
- except StandardError:
+ except StandardError: #pragma: no cover
pass
if logProcesses and hasattr(os, 'getpid'):
self.process = os.getpid()