From 394c019f88e4decaec45b54f94f6a8a4c77d1b27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Mon, 16 Mar 2020 12:27:34 +0100 Subject: Use unittest.mock instead of external mock Replace the use of external 'mock' package with built-in Python unittest.mock (present since py3.3). This also fixes all test failures for me. --- tests/oauth2/rfc6749/grant_types/test_implicit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/oauth2/rfc6749/grant_types/test_implicit.py') diff --git a/tests/oauth2/rfc6749/grant_types/test_implicit.py b/tests/oauth2/rfc6749/grant_types/test_implicit.py index ffd766a..4a0313d 100644 --- a/tests/oauth2/rfc6749/grant_types/test_implicit.py +++ b/tests/oauth2/rfc6749/grant_types/test_implicit.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -import mock +from unittest import mock from oauthlib.common import Request from oauthlib.oauth2.rfc6749.grant_types import ImplicitGrant -- cgit v1.2.1