Use unittest.mock. (#881)

This commit is contained in:
Felix Fontein
2025-05-02 15:39:03 +02:00
committed by GitHub
parent 5231ac8f3f
commit 0b8f3306c7
7 changed files with 23 additions and 18 deletions

View File

@@ -1,4 +1,5 @@
minor_changes:
- "Python code modernization: use f-strings instead of ``%`` and ``str.format()`` (https://github.com/ansible-collections/community.crypto/pull/875)."
- "Python code modernization: update ``__future__`` imports, remove Python 2 specific boilerplates (https://github.com/ansible-collections/community.crypto/pull/876)."
- "Python code modernization: use ``unittest.mock`` instead of ``ansible_collections.community.internal_test_tools.tests.unit.compat.mock`` (https://github.com/ansible-collections/community.crypto/pull/881)."
- "Python code modernization: remove Python 3 specific code (https://github.com/ansible-collections/community.crypto/pull/877)."