@@ -421,7 +421,7 @@ def test_groupby_bins_indexed_coordinate(method):
421
421
)
422
422
},
423
423
coords = {
424
- "time" : pd .date_range ("2013-01-01" , "2013-02-01" , freq = "6H " ),
424
+ "time" : pd .date_range ("2013-01-01" , "2013-02-01" , freq = "6h " ),
425
425
"lat" : np .arange (75.0 , 14.9 , - 2.5 ),
426
426
"lon" : np .arange (200.0 , 331.0 , 2.5 ),
427
427
},
@@ -533,7 +533,7 @@ def test_dtype(add_nan, chunk, dtype, dtype_out, engine):
533
533
@pytest .mark .parametrize ("chunk" , [pytest .param (True , marks = requires_dask ), False ])
534
534
@pytest .mark .parametrize ("use_flox" , [True , False ])
535
535
def test_dtype_accumulation (use_flox , chunk ):
536
- datetimes = pd .date_range ("2010-01" , "2015-01" , freq = "6H " , inclusive = "left" )
536
+ datetimes = pd .date_range ("2010-01" , "2015-01" , freq = "6h " , inclusive = "left" )
537
537
samples = 10 + np .cos (2 * np .pi * 0.001 * np .arange (len (datetimes ))) * 1
538
538
samples += np .random .randn (len (datetimes ))
539
539
samples = samples .astype ("float32" )
@@ -593,7 +593,7 @@ def test_preserve_multiindex():
593
593
594
594
595
595
def test_fill_value_xarray_behaviour ():
596
- times = pd .date_range ("2000-01-01" , freq = "6H " , periods = 10 )
596
+ times = pd .date_range ("2000-01-01" , freq = "6h " , periods = 10 )
597
597
ds = xr .Dataset (
598
598
{
599
599
"bar" : (
@@ -605,11 +605,11 @@ def test_fill_value_xarray_behaviour():
605
605
}
606
606
)
607
607
608
- pd .date_range ("2000-01-01" , freq = "3H " , periods = 19 )
608
+ pd .date_range ("2000-01-01" , freq = "3h " , periods = 19 )
609
609
with xr .set_options (use_flox = False ):
610
- expected = ds .resample (time = "3H " ).sum ()
610
+ expected = ds .resample (time = "3h " ).sum ()
611
611
with xr .set_options (use_flox = True ):
612
- actual = ds .resample (time = "3H " ).sum ()
612
+ actual = ds .resample (time = "3h " ).sum ()
613
613
xr .testing .assert_identical (expected , actual )
614
614
615
615
0 commit comments