This repository has been archived by the owner on Nov 22, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: Pull Request resolved: #287 pytest-dev/pytest#3151 If there isn't a __init__.py file in a directory, pytest imports a test file into the global namespace. This means in a package structure not including __init__.py files, test files in separate directories with the same basename (filename not including directory) will overlap, and fortunately pytest fails with a visible error message rather than not executing the tests. Reviewed By: Titousensei Differential Revision: D14031515 fbshipit-source-id: dc0111b1fa62a630cf1be3da555632041ac7ba3c
- Loading branch information