Skip to content
This repository has been archived by the owner on Oct 24, 2024. It is now read-only.

Commit

Permalink
correct test
Browse files Browse the repository at this point in the history
  • Loading branch information
TomNicholas committed Oct 23, 2023
1 parent a41648e commit d58fb61
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion datatree/tests/test_mapping.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,8 @@ def test_skip_empty_nodes_with_attrs(self, create_test_datatree):

def check_for_data(ds):
# fails if run on a node that has no data
assert len(ds.variables) == 0
assert len(ds.variables) != 0
return ds

dt.map_over_subtree(check_for_data)

Expand Down

0 comments on commit d58fb61

Please sign in to comment.