Skip to content

Commit df0ddaf

Browse files
authored
Remove a couple of trailing commas in tests (#8321)
1 parent 014ab81 commit df0ddaf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

xarray/tests/test_computation.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ def add_one(a, core_dims, on_missing_core_dim):
283283

284284
# `raise` — should raise on a missing dim
285285
with pytest.raises(ValueError):
286-
add_one(ds, core_dims=[["y"]], on_missing_core_dim="raise"),
286+
add_one(ds, core_dims=[["y"]], on_missing_core_dim="raise")
287287

288288
# `drop` — should drop the var with the missing dim
289289
assert_identical(
@@ -1249,7 +1249,7 @@ def check(x, y):
12491249
assert actual.data.chunks == array.chunks
12501250
assert_identical(data_array, actual)
12511251

1252-
check(data_array, 0),
1252+
check(data_array, 0)
12531253
check(0, data_array)
12541254
check(data_array, xr.DataArray(0))
12551255
check(data_array, 0 * data_array)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy