summaryrefslogtreecommitdiff
path: root/tests/unit/auth_test.py
diff options
context:
space:
mode:
authorStefan Scherer <stefan.scherer@docker.com>2021-10-14 19:25:22 +0200
committerGitHub <noreply@github.com>2021-10-14 19:25:22 +0200
commita48a5a9647761406d66e8271f19fab7fa0c5f582 (patch)
tree391594baa59a9662794de1c363e17ba06f887aa9 /tests/unit/auth_test.py
parentac5f6ef93aa392090b5e6bc3c8b1112cf0c8981d (diff)
parent4bb99311e2911406dde543117438782a9524feea (diff)
downloaddocker-py-master.tar.gz
Merge pull request #2898 from hugovk/add-3.10master
Add support for Python 3.10
Diffstat (limited to 'tests/unit/auth_test.py')
-rw-r--r--tests/unit/auth_test.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/tests/unit/auth_test.py b/tests/unit/auth_test.py
index 8bd2e16..ea953af 100644
--- a/tests/unit/auth_test.py
+++ b/tests/unit/auth_test.py
@@ -8,14 +8,9 @@ import tempfile
import unittest
from docker import auth, credentials, errors
+from unittest import mock
import pytest
-try:
- from unittest import mock
-except ImportError:
- from unittest import mock
-
-
class RegressionTest(unittest.TestCase):
def test_803_urlsafe_encode(self):
auth_data = {