Skip to content

Commit 1bcaa7f

Browse files
committed
fix testfunc parameters
1 parent 4b44b05 commit 1bcaa7f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/tests/test_window.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,7 @@ def test_multi_index_names(self):
513513
assert result.index.names == [None, '1', '2']
514514

515515
@pytest.mark.parametrize('cls', [pd.Series, pd.DataFrame])
516-
def test_iter_raises(cls):
516+
def test_iter_raises(self, cls):
517517
# https://github.com/pandas-dev/pandas/issues/11704
518518
# Iteration over a Window
519519
obj = cls([1, 2, 3, 4])
@@ -599,7 +599,7 @@ def test_missing_minp_zero(self):
599599
tm.assert_series_equal(result, expected)
600600

601601
@pytest.mark.parametrize('cls', [pd.Series, pd.DataFrame])
602-
def test_iter_raises(cls):
602+
def test_iter_raises(self, cls):
603603
# https://github.com/pandas-dev/pandas/issues/11704
604604
# Iteration over a Window
605605
obj = cls([1, 2, 3, 4])

0 commit comments

Comments
 (0)