mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
Closes issue #11557: Added Natalia Bidart's patch to improve test coverage.
This commit is contained in:
parent
86cc82e36f
commit
e6c1eb9267
2 changed files with 517 additions and 26 deletions
|
@ -1,4 +1,4 @@
|
|||
# Copyright 2001-2010 by Vinay Sajip. All Rights Reserved.
|
||||
# Copyright 2001-2011 by Vinay Sajip. All Rights Reserved.
|
||||
#
|
||||
# Permission to use, copy, modify, and distribute this software and its
|
||||
# documentation for any purpose and without fee is hereby granted,
|
||||
|
@ -18,7 +18,7 @@
|
|||
Logging package for Python. Based on PEP 282 and comments thereto in
|
||||
comp.lang.python, and influenced by Apache's log4j system.
|
||||
|
||||
Copyright (C) 2001-2010 Vinay Sajip. All Rights Reserved.
|
||||
Copyright (C) 2001-2011 Vinay Sajip. All Rights Reserved.
|
||||
|
||||
To use, simply 'import logging' and log away!
|
||||
"""
|
||||
|
@ -1826,10 +1826,10 @@ class NullHandler(Handler):
|
|||
package.
|
||||
"""
|
||||
def handle(self, record):
|
||||
pass
|
||||
"""Stub."""
|
||||
|
||||
def emit(self, record):
|
||||
pass
|
||||
"""Stub."""
|
||||
|
||||
def createLock(self):
|
||||
self.lock = None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue