-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Documentation update for rootdir discovery #1819
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
Conversation
note: Whenever |
@@ -38,7 +38,8 @@ | |||
|
|||
* Refined logic for determining the ``rootdir``, considering only valid | |||
paths which fixes a number of issues: `#1594`_, `#1435`_ and `#1471`_. | |||
Thanks to `@blueyed`_ and `@davehunt`_ for the PR. | |||
Updated the documentation according to current behavior. Thanks to | |||
`@blueyed`_, `@davehunt`_ and `@matthiasha`_ for the PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You'll need to add a link for yourself further down
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
By the way, let's hold on merging this until the release... as it is a docs update, it won't be a problem because it will immediately appear on docs.pytest.org once merged. 😁 |
Thanks @matthiasha, I will merge this later! 😁 |
This covers issue #1435: if
args
is not explicitly given, custom pytest commandline arguments are misleading pytest's rootdir discovery, if they point to an existing file/folder.Target:
master
(as an addition to PR #1621 )