Commit 41bf3e23 authored by Jason Madden's avatar Jason Madden

lint [skip ci]

parent b5672607
......@@ -32,7 +32,7 @@ class Resolver(object):
return self.pool.apply(_socket.gethostbyname, args)
def gethostbyname_ex(self, *args):
return self.pool.apply( _socket.gethostbyname_ex, args)
return self.pool.apply(_socket.gethostbyname_ex, args)
def getaddrinfo(self, *args, **kwargs):
return self.pool.apply(_socket.getaddrinfo, args, kwargs)
......
......@@ -36,6 +36,7 @@ class TestCoroutinePool(unittest.TestCase):
def test_apply_raises(self):
pool = self.klass(1)
def raiser():
raise ExpectedException()
try:
......
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