File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -20,8 +20,7 @@ def pytest_addoption(parser):
20
20
@pytest .hookimpl (hookwrapper = True )
21
21
def pytest_fixture_setup (fixturedef , request ):
22
22
yield
23
- config = request .config
24
- if config .option .setupshow :
23
+ if request .config .option .setupshow :
25
24
if hasattr (request , "param" ):
26
25
# Save the fixture parameter so ._show_fixture_action() can
27
26
# display it now and during the teardown (in .finish()).
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ def pytest_addoption(parser):
42
42
type = "linelist" ,
43
43
help = "Each line specifies a pattern for "
44
44
"warnings.filterwarnings. "
45
- "Processed after -W and --pythonwarnings." ,
45
+ "Processed after -W/ --pythonwarnings." ,
46
46
)
47
47
48
48
You can’t perform that action at this time.
0 commit comments