diff --git a/tests/util/test_fof_utils.py b/tests/util/test_fof_utils.py index 7794869..57e60d0 100644 --- a/tests/util/test_fof_utils.py +++ b/tests/util/test_fof_utils.py @@ -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") diff --git a/util/fof_utils.py b/util/fof_utils.py index de7eae9..05361d7 100644 --- a/util/fof_utils.py +++ b/util/fof_utils.py @@ -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: