-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Open
Labels
topic: configrelated to config handling, argument parsing and config filerelated to config handling, argument parsing and config filetype: bugproblem that needs to be addressedproblem that needs to be addressed
Description
Steps to reproduce
execute pytest -p not-installed-plugin
Observed result
Exit code is 1
...
File "/usr/local/lib/python2.7/site-packages/_pytest/config.py", line 435, in import_plugin
six.reraise(new_exc_type, new_exc, sys.exc_info()[2])
File "/usr/local/lib/python2.7/site-packages/_pytest/config.py", line 429, in import_plugin
__import__(importspec)
ImportError: Error importing plugin "not-installed-plugin": No module named not-installed-plugin
Expected result
Exit code 2
or 4
(https://docs.pytest.org/en/latest/usage.html#possible-exit-codes)
System
platform darwin -- Python 2.7.13, pytest-3.3.2, py-1.5.2, pluggy-0.6.0
Metadata
Metadata
Assignees
Labels
topic: configrelated to config handling, argument parsing and config filerelated to config handling, argument parsing and config filetype: bugproblem that needs to be addressedproblem that needs to be addressed