Skip to content

Commit c0b3561

Browse files
fmt
1 parent 367769d commit c0b3561

File tree

1 file changed

+16
-8
lines changed

1 file changed

+16
-8
lines changed

tests/datasets_tests.py

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,16 +31,24 @@ def test_ibtracs(self):
3131
first_numobs = first_numobs.astype(int)
3232

3333
# Both transformed and original data array should contain the same values
34-
self.assertTrue(np.all(np.allclose(
35-
ds_first.usa_r34.data[:first_numobs],
36-
ragged_ds_first.usa_r34.data,
37-
equal_nan=True,
38-
)))
34+
self.assertTrue(
35+
np.all(
36+
np.allclose(
37+
ds_first.usa_r34.data[:first_numobs],
38+
ragged_ds_first.usa_r34.data,
39+
equal_nan=True,
40+
)
41+
)
42+
)
3943

4044
# The rest of the values should be nan
41-
self.assertTrue(np.all(np.isnan(
42-
ds_first.usa_r34.data[first_numobs + 1:],
43-
)))
45+
self.assertTrue(
46+
np.all(
47+
np.isnan(
48+
ds_first.usa_r34.data[first_numobs + 1 :],
49+
)
50+
)
51+
)
4452

4553
def test_glad(self):
4654
with datasets.glad() as ds:

0 commit comments

Comments
 (0)