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):
2020@pytest .hookimpl (hookwrapper = True )
2121def pytest_fixture_setup (fixturedef , request ):
2222 yield
23- config = request .config
24- if config .option .setupshow :
23+ if request .config .option .setupshow :
2524 if hasattr (request , "param" ):
2625 # Save the fixture parameter so ._show_fixture_action() can
2726 # 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):
4242 type = "linelist" ,
4343 help = "Each line specifies a pattern for "
4444 "warnings.filterwarnings. "
45- "Processed after -W and --pythonwarnings." ,
45+ "Processed after -W/ --pythonwarnings." ,
4646 )
4747
4848
You can’t perform that action at this time.
0 commit comments