Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions tests/util/test_fof_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,10 +249,8 @@ def test_compare_var_and_attr_ds(ds1, ds2):
)

total1, equal1 = compare_var_and_attr_ds(ds1, ds2, detailed_logger)
total2, equal2 = compare_var_and_attr_ds(ds1, ds2, detailed_logger)

assert (total1, equal1) == (103, 102)
assert (total2, equal2) == (103, 102)


@pytest.fixture(name="ds3")
Expand Down
2 changes: 1 addition & 1 deletion util/fof_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ def compare_var_and_attr_ds(ds1, ds2, detailed_logger):
"""

total_all, equal_all = 0, 0
list_to_skip = ["source", "i_body", "l_body", "veri_data"]
list_to_skip = ["source", "i_body", "l_body", "veri_data", "record"]

for var in set(ds1.data_vars).union(ds2.data_vars):
if var in ds1.data_vars and var in ds2.data_vars and var not in list_to_skip:
Expand Down
Loading