Skip to content

Why no __init__.py in tests/unit/**? #11321

Discussion options

You must be logged in to vote

See the discussion (especially towards the end of the section) here:

https://docs.pytest.org/en/6.2.x/goodpractices.html#tests-outside-application-code

TLDR; it is advised to use "src" directory layout of you add init files. I would like to move to src layout fwiw

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mattpap
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants