@@ -421,7 +421,7 @@ def test_groupby_bins_indexed_coordinate(method):
421421 )
422422 },
423423 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 " ),
425425 "lat" : np .arange (75.0 , 14.9 , - 2.5 ),
426426 "lon" : np .arange (200.0 , 331.0 , 2.5 ),
427427 },
@@ -533,7 +533,7 @@ def test_dtype(add_nan, chunk, dtype, dtype_out, engine):
533533@pytest .mark .parametrize ("chunk" , [pytest .param (True , marks = requires_dask ), False ])
534534@pytest .mark .parametrize ("use_flox" , [True , False ])
535535def 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" )
537537 samples = 10 + np .cos (2 * np .pi * 0.001 * np .arange (len (datetimes ))) * 1
538538 samples += np .random .randn (len (datetimes ))
539539 samples = samples .astype ("float32" )
@@ -593,7 +593,7 @@ def test_preserve_multiindex():
593593
594594
595595def 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 )
597597 ds = xr .Dataset (
598598 {
599599 "bar" : (
@@ -605,11 +605,11 @@ def test_fill_value_xarray_behaviour():
605605 }
606606 )
607607
608- pd .date_range ("2000-01-01" , freq = "3H " , periods = 19 )
608+ pd .date_range ("2000-01-01" , freq = "3h " , periods = 19 )
609609 with xr .set_options (use_flox = False ):
610- expected = ds .resample (time = "3H " ).sum ()
610+ expected = ds .resample (time = "3h " ).sum ()
611611 with xr .set_options (use_flox = True ):
612- actual = ds .resample (time = "3H " ).sum ()
612+ actual = ds .resample (time = "3h " ).sum ()
613613 xr .testing .assert_identical (expected , actual )
614614
615615
0 commit comments