Clarify PYTHONPATH changes and rootdir roles#2595
Conversation
| Here's a summary what ``pytest`` uses ``rootdir`` for: | ||
|
|
||
| * Constructing ``nodeids`` during collection; each test is assigned | ||
| a unique ``nodeid`` which is rooted at the ``rootdir`` and takes in account full path, |
There was a problem hiding this comment.
nitpick: Why would nodeid and ini-file (both singular/plural) be monospaced? Those are "concepts", not variable names or code, right?
There was a problem hiding this comment.
You are right, consistency is important (not nitpick at all IMHO) 😉
| .. _examples: | ||
|
|
||
| Usages and Examples | ||
| Examples and customizations tricks |
There was a problem hiding this comment.
nitpick: customization (singular)
| root/ | ||
| |- foo/ | ||
| |- __init__.py | ||
| |- contest.py |
|
|
||
| root/ | ||
| |- foo/ | ||
| |- contest.py |
|
Also cc @pfctdayelise @hackebrot who probably have some more experience with writing/reviewing documentation than I do. |
- Also minor adjustments in the docs (wording, formatting, links, etc). Fix pytest-dev#2589
5ee55a0 to
3d24485
Compare
|
Done all changes requested by @The-Compiler, thanks! |
|
@The-Compiler anything else you would like me to change? If not, could you update the status to approve? 😉 Gentle ping @hackebrot @pfctdayelise |
|
I think this is clearly an improvement over the status quo, so let's merge it 😉 Thanks! |
|
Thanks! |
|
Hey @nicoddemus @The-Compiler! 👋 Sorry for the late response. I started my review right when you merged this PR. 😁 I'll submit a new PR with any changes that I was about to suggest, so we can discuss there. 👍 |
Fix #2589