@@ -417,7 +417,7 @@ def test_finder_daily(self):
417
417
xpl1 = xpl2 = [Period ("1999-1-1" , freq = "B" ).ordinal ] * len (day_lst )
418
418
rs1 = []
419
419
rs2 = []
420
- for i , n in enumerate ( day_lst ) :
420
+ for n in day_lst :
421
421
rng = bdate_range ("1999-1-1" , periods = n )
422
422
ser = Series (np .random .randn (len (rng )), rng )
423
423
_ , ax = self .plt .subplots ()
@@ -439,7 +439,7 @@ def test_finder_quarterly(self):
439
439
xpl1 = xpl2 = [Period ("1988Q1" ).ordinal ] * len (yrs )
440
440
rs1 = []
441
441
rs2 = []
442
- for i , n in enumerate ( yrs ) :
442
+ for n in yrs :
443
443
rng = period_range ("1987Q2" , periods = int (n * 4 ), freq = "Q" )
444
444
ser = Series (np .random .randn (len (rng )), rng )
445
445
_ , ax = self .plt .subplots ()
@@ -461,7 +461,7 @@ def test_finder_monthly(self):
461
461
xpl1 = xpl2 = [Period ("Jan 1988" ).ordinal ] * len (yrs )
462
462
rs1 = []
463
463
rs2 = []
464
- for i , n in enumerate ( yrs ) :
464
+ for n in yrs :
465
465
rng = period_range ("1987Q2" , periods = int (n * 12 ), freq = "M" )
466
466
ser = Series (np .random .randn (len (rng )), rng )
467
467
_ , ax = self .plt .subplots ()
@@ -491,7 +491,7 @@ def test_finder_annual(self):
491
491
xp = [1987 , 1988 , 1990 , 1990 , 1995 , 2020 , 2070 , 2170 ]
492
492
xp = [Period (x , freq = "A" ).ordinal for x in xp ]
493
493
rs = []
494
- for i , nyears in enumerate ( [5 , 10 , 19 , 49 , 99 , 199 , 599 , 1001 ]) :
494
+ for nyears in [5 , 10 , 19 , 49 , 99 , 199 , 599 , 1001 ]:
495
495
rng = period_range ("1987" , periods = nyears , freq = "A" )
496
496
ser = Series (np .random .randn (len (rng )), rng )
497
497
_ , ax = self .plt .subplots ()
0 commit comments