Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider paths and pathlists relative to cwd in case of an absent ini-file #11963

Merged

Conversation

nicoddemus
Copy link
Member

Previously this would trigger an AssertionError.

While it could be considered a bug-fix, but given it now can be relied upon, it is probably better to consider it an improvement.

Fix #11311

…-file

Previously this would trigger an `AssertionError`.

While it could be considered a bug-fix, but given it now can be relied upon, it is probably better to consider it an improvement.

Fix pytest-dev#11311
@nicoddemus nicoddemus merged commit 46e6fb1 into pytest-dev:main Feb 14, 2024
24 checks passed
@nicoddemus nicoddemus deleted the paths-ini-without-configfile-11311 branch February 14, 2024 19:07
flying-sheep pushed a commit to flying-sheep/pytest that referenced this pull request Apr 9, 2024
…-file (pytest-dev#11963)

Previously this would trigger an `AssertionError`.

While it could be considered a bug-fix, but given it now can be relied upon, it is probably better to consider it an improvement.

Fix pytest-dev#11311
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AssertionError triggered by pytest --override-ini='pythonpath=foo'
2 participants