diff options
author | Stefan Scherer <stefan.scherer@docker.com> | 2021-10-14 19:25:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-14 19:25:22 +0200 |
commit | a48a5a9647761406d66e8271f19fab7fa0c5f582 (patch) | |
tree | 391594baa59a9662794de1c363e17ba06f887aa9 /tests/integration/credentials/utils_test.py | |
parent | ac5f6ef93aa392090b5e6bc3c8b1112cf0c8981d (diff) | |
parent | 4bb99311e2911406dde543117438782a9524feea (diff) | |
download | docker-py-master.tar.gz |
Merge pull request #2898 from hugovk/add-3.10master
Add support for Python 3.10
Diffstat (limited to 'tests/integration/credentials/utils_test.py')
-rw-r--r-- | tests/integration/credentials/utils_test.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/integration/credentials/utils_test.py b/tests/integration/credentials/utils_test.py index d7b2a1a..acf018d 100644 --- a/tests/integration/credentials/utils_test.py +++ b/tests/integration/credentials/utils_test.py @@ -1,11 +1,7 @@ import os from docker.credentials.utils import create_environment_dict - -try: - from unittest import mock -except ImportError: - from unittest import mock +from unittest import mock @mock.patch.dict(os.environ) |