-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Open
Labels
plugin: xdistrelated to the xdist external pluginrelated to the xdist external plugintype: enhancementnew feature or API change, should be merged into features branchnew feature or API change, should be merged into features branch
Description
We need to except Exit before this part of code:
Lines 110 to 116 in 0d96a5b
| except KeyboardInterrupt: | |
| excinfo = _pytest._code.ExceptionInfo() | |
| if initstate < 2 and isinstance(excinfo.value, exit.Exception): | |
| sys.stderr.write('{0}: {1}\n'.format( | |
| excinfo.typename, excinfo.value.msg)) | |
| config.hook.pytest_keyboard_interrupt(excinfo=excinfo) | |
| session.exitstatus = EXIT_INTERRUPTED |
and pass a message to xdist module
it needed for xdist:
original task:
pytest-dev/pytest-xdist#86
I'm ready to create pull request, but I don't know how to pass a message to xdist module, Please, give me an advice. Thanks!
balaziks and rossmacarthur
Metadata
Metadata
Assignees
Labels
plugin: xdistrelated to the xdist external pluginrelated to the xdist external plugintype: enhancementnew feature or API change, should be merged into features branchnew feature or API change, should be merged into features branch