Ignore sanity check. (#679)

This commit is contained in:
Felix Fontein 2023-08-11 09:01:39 +02:00 committed by GitHub
parent e21d6d380c
commit 6f6dd14492
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1149,7 +1149,7 @@ def has_list_changed(new_list, old_list, sort_lists=True, sort_key=None):
else: else:
zip_data = zip(new_list, old_list) zip_data = zip(new_list, old_list)
for new_item, old_item in zip_data: for new_item, old_item in zip_data:
is_same_type = type(new_item) == type(old_item) is_same_type = type(new_item) == type(old_item) # noqa: E721
if not is_same_type: if not is_same_type:
if isinstance(new_item, string_types) and isinstance(old_item, string_types): if isinstance(new_item, string_types) and isinstance(old_item, string_types):
# Even though the types are different between these items, # Even though the types are different between these items,