-
If However, if I create a On the other hand, if I call I can see in the launcher script in the virtual env So how is it that |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
The pytest binary doesn't mess around with adding cwd to the pythonpath https://docs.pytest.org/en/stable/explanation/pythonpath.html#invoking-pytest-versus-python-m-pytest |
Beta Was this translation helpful? Give feedback.
-
Thanks, @RonnyPfannschmidt , for your response. After further investigation it turns out that I was executing a Thanks for your help. |
Beta Was this translation helpful? Give feedback.
Thanks, @RonnyPfannschmidt , for your response. After further investigation it turns out that I was executing a
pytest
in a different virtual environment thanwhich pytest
told me, and where there was not asitecustomize.py
. I can confirm that, once I got to the rightpytest
, it does indeed callsitecustomize.py
as expected.Thanks for your help.