mirror of
https://github.com/certbot/certbot.git
synced 2026-06-08 16:22:18 -04:00
fix lint
This commit is contained in:
parent
be693c60ab
commit
d3bf0b64f7
1 changed files with 2 additions and 1 deletions
|
|
@ -65,7 +65,8 @@ class SSLSocketAndProbeSNITest(unittest.TestCase):
|
|||
self.assertRaises(errors.Error, self._probe, b'bar')
|
||||
|
||||
def test_probe_connection_error(self):
|
||||
self.server.server_close()
|
||||
# pylint has a hard time with six
|
||||
self.server.server_close() # pylint: disable=no-member
|
||||
original_timeout = socket.getdefaulttimeout()
|
||||
try:
|
||||
socket.setdefaulttimeout(1)
|
||||
|
|
|
|||
Loading…
Reference in a new issue