Commit f7e9f654 authored by Jason Madden's avatar Jason Madden

Can't use inner classes, shows up as a leak in the lint environment.

parent bb785fc1
......@@ -1446,7 +1446,6 @@ class Test414(TestCase):
class Test663(TestCase):
def init_logger(self):
# Something that gets wrapped in a LoggingLogAdapter
class Logger(object):
accessed = None
......@@ -1462,7 +1461,8 @@ class Test663(TestCase):
def get_thing(self):
return self.thing
return Logger()
def init_logger(self):
return self.Logger()
def test_proxy_methods_on_log(self):
# An object that looks like a logger gets wrapped
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment