Skip to content

Commit

Permalink
Address flake8 error
Browse files Browse the repository at this point in the history
  • Loading branch information
jp-dark committed Dec 22, 2023
1 parent 0d21a14 commit 637d158
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/netcdf_engine/test_netcdf4_converter_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,7 @@ def check_attrs(self, group_uri):
with open_group_array(group, attr=attr_name) as array:
nonempty_domain = array.nonempty_domain()
result = array.multi_index[nonempty_domain]
np.testing.assert_equal(
result[attr_name], self.variable_data[var_name]
), f"unexpected values for attribute '{attr_name}'"
np.testing.assert_equal(result[attr_name], self.variable_data[var_name])

@pytest.mark.parametrize("collect_attrs", [True, False])
def test_from_netcdf(self, netcdf_file, tmpdir, collect_attrs):
Expand Down

0 comments on commit 637d158

Please sign in to comment.