diff --git a/nova/test.py b/nova/test.py index b6fe40120..049d44458 100644 --- a/nova/test.py +++ b/nova/test.py @@ -28,7 +28,6 @@ eventlet.monkey_patch(os=False) import copy import inspect -import logging as std_logging import mock import os @@ -106,23 +105,6 @@ class TestingException(Exception): pass -class NullHandler(std_logging.Handler): - """custom default NullHandler to attempt to format the record. - - Used in conjunction with - log_fixture.get_logging_handle_error_fixture to detect formatting errors in - debug level logs without saving the logs. - """ - def handle(self, record): - self.format(record) - - def emit(self, record): - pass - - def createLock(self): - self.lock = None - - class skipIf(object): def __init__(self, condition, reason): self.condition = condition