Skip to content

fix #8464 wrong root dir when -c is passed #8537

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

Merged
merged 8 commits into from
Apr 16, 2021

Conversation

elbehery95
Copy link
Contributor

Fix for #8464 including a doc update

@nicoddemus let me know your thoughts and feedback

Copy link
Member

@nicoddemus nicoddemus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot @elbehery95 for the PR!

However I think I wasn't very clear, but the semantics here should be a bit different: if an inifile is passed in the command-line, then we should always use its directory as rootdir. Please see my comments. 👍

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Copy link
Member

@nicoddemus nicoddemus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a ton @elbehery95 for the contribution!

@nicoddemus nicoddemus merged commit 9078c3c into pytest-dev:main Apr 16, 2021
@elbehery95 elbehery95 deleted the config_ini_root_8464 branch April 16, 2021 17:49
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.

None yet

2 participants