@@ -31,7 +31,7 @@ class DefinitionMock(python.FunctionDefinition):
3131 definition = DefinitionMock (func )
3232 return python .Metafunc (definition , fixtureinfo , config )
3333
34- def test_no_funcargs (self , testdir ):
34+ def test_no_funcargs (self ):
3535 def function ():
3636 pass
3737
@@ -61,7 +61,7 @@ def func(x, y):
6161 pytest .raises (ValueError , lambda : metafunc .parametrize ("y" , [5 , 6 ]))
6262 pytest .raises (ValueError , lambda : metafunc .parametrize ("y" , [5 , 6 ]))
6363
64- def test_parametrize_bad_scope (self , testdir ):
64+ def test_parametrize_bad_scope (self ):
6565 def func (x ):
6666 pass
6767
@@ -153,7 +153,7 @@ def func(x):
153153 ids = [x .id for x in metafunc ._calls ]
154154 assert ids == ["basic" , "advanced" ]
155155
156- def test_parametrize_with_wrong_number_of_ids (self , testdir ):
156+ def test_parametrize_with_wrong_number_of_ids (self ):
157157 def func (x , y ):
158158 pass
159159
@@ -652,7 +652,7 @@ def test_simple(x,y):
652652 result = testdir .runpytest ("-v" )
653653 result .stdout .fnmatch_lines (["*test_simple*a-b*" , "*1 passed*" ])
654654
655- def test_parametrize_indirect_list_error (self , testdir ):
655+ def test_parametrize_indirect_list_error (self ):
656656 """#714"""
657657
658658 def func (x , y ):
0 commit comments