@@ -512,11 +512,11 @@ def test_multi_index_names(self):
512512 tm .assert_index_equal (result .columns , df .columns )
513513 assert result .index .names == [None , '1' , '2' ]
514514
515- @pytest .mark .parametrize ('cls ' , [pd .Series , pd .DataFrame ])
516- def test_iter_raises (self , cls ):
515+ @pytest .mark .parametrize ('klass ' , [pd .Series , pd .DataFrame ])
516+ def test_iter_raises (self , klass ):
517517 # https://github.com/pandas-dev/pandas/issues/11704
518518 # Iteration over a Window
519- obj = cls ([1 , 2 , 3 , 4 ])
519+ obj = klass ([1 , 2 , 3 , 4 ])
520520 with pytest .raises (NotImplementedError ):
521521 iter (obj .rolling (2 ))
522522
@@ -598,11 +598,11 @@ def test_missing_minp_zero(self):
598598 expected = pd .Series ([np .nan ])
599599 tm .assert_series_equal (result , expected )
600600
601- @pytest .mark .parametrize ('cls ' , [pd .Series , pd .DataFrame ])
602- def test_iter_raises (self , cls ):
601+ @pytest .mark .parametrize ('klass ' , [pd .Series , pd .DataFrame ])
602+ def test_iter_raises (self , klass ):
603603 # https://github.com/pandas-dev/pandas/issues/11704
604604 # Iteration over a Window
605- obj = cls ([1 , 2 , 3 , 4 ])
605+ obj = klass ([1 , 2 , 3 , 4 ])
606606 with pytest .raises (NotImplementedError ):
607607 iter (obj .expanding (2 ))
608608
0 commit comments