We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e30a89f commit 316eb43Copy full SHA for 316eb43
xarray/tests/test_state_machine.py
@@ -74,6 +74,7 @@ def add_dim_coord(self, var):
74
# non-dim coord of same size; this allows renaming
75
self.dataset[name + "_"] = var
76
77
+ @rule()
78
@precondition(lambda self: len(self.dataset.dims) >= 1)
79
def reset_index(self):
80
dim = random.choice(tuple(self.dataset.dims))
0 commit comments