Skip to content

Commit cb4e08b

Browse files
authored
fix typo and use explicit tuple construction
1 parent 98e9c66 commit cb4e08b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_doc.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55

66

77
def test_xarray_example():
8-
data = xr.DataArray(np.zeros((1024, 1024)), dims=list("xy"))
8+
data = xr.DataArray(np.zeros((1024, 1024)), dims=("x", "y"))
99
scaled_data = multiscale(data, windowed_mean, (2, 2))
10-
assert len(scaled_data) == 11, "Incorret Amount of Arrays returnes"
10+
assert len(scaled_data) == 11, "Incorrect number of arrays returned"

0 commit comments

Comments
 (0)