File tree Expand file tree Collapse file tree 1 file changed +16
-8
lines changed
Expand file tree Collapse file tree 1 file changed +16
-8
lines changed Original file line number Diff line number Diff 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 :
You can’t perform that action at this time.
0 commit comments