summaryrefslogtreecommitdiff
path: root/doc/en/writing_plugins.rst
diff options
context:
space:
mode:
authorJoshua Storck <joshua.storck@twosigma.com>2019-10-30 16:25:50 -0400
committerJoshua Storck <joshua.storck@twosigma.com>2019-10-30 16:25:50 -0400
commitf4008042069b64111c4ad4ab047029a5e77f01ea (patch)
tree47ee4188c63fce3fc3e6c09802312dc053282bb4 /doc/en/writing_plugins.rst
parent0027908e9e5d23f9967e5f5465e0dda1b45046e6 (diff)
downloadpytest-f4008042069b64111c4ad4ab047029a5e77f01ea.tar.gz
Removing pluginmanager as parameter in definition of pytest_addoption hook
Diffstat (limited to 'doc/en/writing_plugins.rst')
-rw-r--r--doc/en/writing_plugins.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/en/writing_plugins.rst b/doc/en/writing_plugins.rst
index 818974d0b..8660746bd 100644
--- a/doc/en/writing_plugins.rst
+++ b/doc/en/writing_plugins.rst
@@ -338,7 +338,7 @@ string value of ``Hello World!`` if we do not supply a value or ``Hello
import pytest
- def pytest_addoption(parser, pluginmanager):
+ def pytest_addoption(parser):
group = parser.getgroup("helloworld")
group.addoption(
"--name",