-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Description
Thanks for submitting an issue!
Here's a quick checklist in what to include:
- Include a detailed description of the bug or suggestion
I've got a setuptools plugin project using module-level hooks and 'pytest_cmdline_parse' is not getting called. All other bootstrapping hooks and initialization hooks are called, but not this one. I went through #2616 but this is different because I am calling it from a setuptools plugin. Is there something special about this hook that I should know about? Thank you very much!
-
pip list
of the virtual environment you are using
apipkg 1.5
atomicwrites 1.3.0
attrs 19.1.0
colorama 0.4.1
execnet 1.5.0
funcsigs 1.0.2
more-itertools 5.0.0
pathlib2 2.3.3
pip 19.0.3
pluggy 0.9.0
py 1.8.0
pytest 4.3.1
pytest-forked 1.0.2
pytest-xdist 1.26.1
scandir 1.10.0
setuptools 40.8.0
six 1.12.0
virtualenv 16.4.3
wheel 0.33.1
- pytest and operating system versions
Pytest 4.3.1
Python 2.7.16
Windows 10 Build 1803
- Minimal example if possible
I am testing the hooks with a simple print statement:
def pytest_cmdline_parse(pluginmanager, args):
print("pytest_cmdline_parse")