get PYTEST_ADDOPTS before calling _initini #2824
While it works to pass
To enable this use case this patch moves the call to
I haven't added a test for this since I thought getting feedback in the patch first makes sense. If a test is desired please let me know and I am happy to do so.
The text was updated successfully, but these errors were encountered:
…on Windows We use shlex to parse command-line arguments and PYTEST_ADDOPTS, so passing a full path with '\' arguments produces incorrect results on Windows Anyway users are advised to use relative paths for portability