Skip to content

Commit

Permalink
Upgrade to Ubuntu 20.04, PyPy 3.6 and CPython 3.9 final
Browse files Browse the repository at this point in the history
  • Loading branch information
pquentin authored and sethmlarson committed Nov 12, 2020
1 parent 087d4de commit deb21b6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
language: python
os: linux
dist: xenial
dist: focal

before_install:
- env
Expand Down Expand Up @@ -43,13 +43,13 @@ jobs:
env: NOX_SESSION=test-3.7
- python: 3.8
env: NOX_SESSION=test-3.8
- python: 3.9-dev
- python: 3.9
env: NOX_SESSION=test-3.9
- python: nightly
env: NOX_SESSION=test-3.10
- python: pypy2.7-6.0
- python: pypy2.7-7.3.1
env: NOX_SESSION=test-pypy
- python: pypy3.5-6.0
- python: pypy3.6-7.3.1
env: NOX_SESSION=test-pypy

# Extras
Expand Down
2 changes: 1 addition & 1 deletion src/urllib3/util/ssl_.py
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ def ssl_wrap_socket(
try:
if hasattr(context, "set_alpn_protocols"):
context.set_alpn_protocols(ALPN_PROTOCOLS)
except NotImplementedError:
except NotImplementedError: # Defensive: in CI, we always have set_alpn_protocols
pass

# If we detect server_hostname is an IP address then the SNI
Expand Down

0 comments on commit deb21b6

Please sign in to comment.