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/cisco/ios/tests/unit/mock/loader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ansible_collections/cisco/ios/tests/unit/mock') diff --git a/ansible_collections/cisco/ios/tests/unit/mock/loader.py b/ansible_collections/cisco/ios/tests/unit/mock/loader.py index ebff16f63..0fc53edcd 100644 --- a/ansible_collections/cisco/ios/tests/unit/mock/loader.py +++ b/ansible_collections/cisco/ios/tests/unit/mock/loader.py @@ -31,7 +31,7 @@ from ansible.parsing.dataloader import DataLoader 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