-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix incorrect basenames caused by a lack of __init__.py
The problem was caused by pylint-dev/astroid#2589, changing the package discovery. Since tests/reporters/ didn't have `__init__.py`, the new package discovery would resolve module names as one level higher than desired (so, `unittest_reporting` instead of `reporters.unittest_reporting`). We're fixing this, by adding the appropriate `__init__.py`. We're also adding the `ModuleDescriptionDict` corresponding to the new `__init__.py` to the `expand_modules` tests. The changes in `expand_modules.py` are small optimizations mostly done in the process of understanding what is happening there.
- Loading branch information
1 parent
e03d048
commit e1f3eea
Showing
3 changed files
with
29 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.