From 38b7c80217c4e72b1d8988eb1e60bb6e77334114 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 18 Apr 2024 07:52:22 +0200 Subject: Adding upstream version 9.4.0+dfsg. Signed-off-by: Daniel Baumann --- ansible_collections/community/general/tests/unit/mock/loader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ansible_collections/community/general/tests/unit/mock') diff --git a/ansible_collections/community/general/tests/unit/mock/loader.py b/ansible_collections/community/general/tests/unit/mock/loader.py index 948f4eecd..f7aff17c3 100644 --- a/ansible_collections/community/general/tests/unit/mock/loader.py +++ b/ansible_collections/community/general/tests/unit/mock/loader.py @@ -17,7 +17,7 @@ class DictDataLoader(DataLoader): def __init__(self, file_mapping=None): file_mapping = {} if file_mapping is None else file_mapping - assert type(file_mapping) == dict + assert isinstance(file_mapping, dict) super(DictDataLoader, self).__init__() -- cgit v1.2.3