fix: 去除不必要的print
This commit is contained in:
parent
d483bb6b61
commit
51893d23e0
|
@ -232,7 +232,6 @@ def compare_lists_of_dicts(list1, list2, ignore_order=False):
|
|||
|
||||
def compare_values(val1, val2, ignore_order=False):
|
||||
"""通用比较函数,也可以处理字典和列表。"""
|
||||
print(val1, val2)
|
||||
if isinstance(val1, list) and isinstance(val2, list):
|
||||
# 假设这里我们关心列表中对象的顺序
|
||||
return compare_lists_of_dicts(val1, val2, ignore_order)
|
||||
|
|
Loading…
Reference in New Issue