Repository navigation
Replies: 1 comment
|
From the repository root, try: python -m pytest tests/test_version.pyThat form adds the current directory to |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I git a third-party package with the following structure:
./tests/conftest.py:When the CI system runs pytest I get an error:
pytest ./tests/test_version.pyFor internal reasons I cannot set
PYTHONPATH.Is there any
pytestarg that would help me make this conftest import work?All reactions