@@ -31,7 +31,7 @@ class DefinitionMock(python.FunctionDefinition):
31
31
definition = DefinitionMock (func )
32
32
return python .Metafunc (definition , fixtureinfo , config )
33
33
34
- def test_no_funcargs (self , testdir ):
34
+ def test_no_funcargs (self ):
35
35
def function ():
36
36
pass
37
37
@@ -61,7 +61,7 @@ def func(x, y):
61
61
pytest .raises (ValueError , lambda : metafunc .parametrize ("y" , [5 , 6 ]))
62
62
pytest .raises (ValueError , lambda : metafunc .parametrize ("y" , [5 , 6 ]))
63
63
64
- def test_parametrize_bad_scope (self , testdir ):
64
+ def test_parametrize_bad_scope (self ):
65
65
def func (x ):
66
66
pass
67
67
@@ -153,7 +153,7 @@ def func(x):
153
153
ids = [x .id for x in metafunc ._calls ]
154
154
assert ids == ["basic" , "advanced" ]
155
155
156
- def test_parametrize_with_wrong_number_of_ids (self , testdir ):
156
+ def test_parametrize_with_wrong_number_of_ids (self ):
157
157
def func (x , y ):
158
158
pass
159
159
@@ -652,7 +652,7 @@ def test_simple(x,y):
652
652
result = testdir .runpytest ("-v" )
653
653
result .stdout .fnmatch_lines (["*test_simple*a-b*" , "*1 passed*" ])
654
654
655
- def test_parametrize_indirect_list_error (self , testdir ):
655
+ def test_parametrize_indirect_list_error (self ):
656
656
"""#714"""
657
657
658
658
def func (x , y ):
0 commit comments