Skip to content

Avoid __init__.py in tests directory #52

@HolgerPeters

Description

@HolgerPeters

The pytest docs (https://pytest.org/latest/goodpractises.html) advice to not put an __init__.py file into the tests directory:

avoid “init.py” files in your test directories. This way your tests can run easily against an installed version of mypkg, independently from the installed package if it contains the tests or not.

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions