mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-05-02 23:31:25 -07:00
Python 3.8 collections compatibility fixes.
Includes a new pylint blacklist plugin to prevent regressions.
This commit is contained in:
parent
c4d1f0d416
commit
a11f631ee4
56 changed files with 317 additions and 104 deletions
|
@ -1,7 +1,7 @@
|
|||
import collections
|
||||
from io import BytesIO
|
||||
|
||||
from ansible.modules.web_infrastructure.jenkins_plugin import JenkinsPlugin
|
||||
from ansible.module_utils.common._collections_compat import Mapping
|
||||
|
||||
|
||||
def pass_function(*args, **kwargs):
|
||||
|
@ -145,4 +145,4 @@ def test__get_json_data(mocker):
|
|||
"{url}".format(url=GITHUB_DATA['url']),
|
||||
'CSRF')
|
||||
|
||||
assert isinstance(json_data, collections.Mapping)
|
||||
assert isinstance(json_data, Mapping)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue