You can dynamically add the option, for example: conftest.py import sys def pytest_cmdline_preparse(args): if "xdist" in sys.modules and ...
確定! 回上一頁