summaryrefslogtreecommitdiff
path: root/tests/openid/connect
diff options
context:
space:
mode:
authorHugo <hugovk@users.noreply.github.com>2019-08-15 00:01:16 +0300
committerHugo <hugovk@users.noreply.github.com>2019-08-15 12:24:34 +0300
commitb41d4801dec588d82e6633869ac541e207598297 (patch)
treeec7d832c34f6d9614a5429a0829c1916a90be92d /tests/openid/connect
parent81e37c08162124854822581e23ac2cd81fa43d4a (diff)
downloadoauthlib-b41d4801dec588d82e6633869ac541e207598297.tar.gz
Drop support for legacy Python 2.7
Diffstat (limited to 'tests/openid/connect')
-rw-r--r--tests/openid/connect/core/endpoints/test_openid_connect_params_handling.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/openid/connect/core/endpoints/test_openid_connect_params_handling.py b/tests/openid/connect/core/endpoints/test_openid_connect_params_handling.py
index 517239a..c8a707e 100644
--- a/tests/openid/connect/core/endpoints/test_openid_connect_params_handling.py
+++ b/tests/openid/connect/core/endpoints/test_openid_connect_params_handling.py
@@ -7,14 +7,10 @@ from oauthlib.oauth2.rfc6749.endpoints.authorization import \
AuthorizationEndpoint
from oauthlib.oauth2.rfc6749.tokens import BearerToken
from oauthlib.openid.connect.core.grant_types import AuthorizationCodeGrant
+from urllib.parse import urlencode
from tests.unittest import TestCase
-try:
- from urllib.parse import urlencode
-except ImportError:
- from urllib import urlencode
-
class OpenIDConnectEndpointTest(TestCase):