Skip to content

Commit

Permalink
Fix a typo in SNI tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hodbn committed Jun 25, 2020
1 parent fd1ad73 commit 8e93132
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/with_dummyserver/test_socketlevel.py
Expand Up @@ -101,7 +101,7 @@ def socket_handler(listener):
sock.close()

self._start_server(socket_handler)
with HTTPConnectionPool(self.host, self.port) as pool:
with HTTPSConnectionPool(self.host, self.port) as pool:
try:
pool.request("GET", "/", retries=0)
except MaxRetryError: # We are violating the protocol
Expand Down

0 comments on commit 8e93132

Please sign in to comment.