Doctest find() doesn't work for model subpackage (models/__init__.py)
|Reported by:||anonymous||Owned by:||nobody|
|Cc:||noah@…, jesse.lovelace@…||Triage Stage:||Accepted|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
#2982 addresses a small issue with splitting up models into a subpackage. This works fine, except the test runner can no longer find doctests in the other package files.
This is the default doctest behavior, to avoid recursing too far on packages. I have found that removing the module filter works just fine on all my model subpackages, but I am not sure if there are other consequences of removing this...
Maybe there is a better way to address this issue?
Change History (9)
Changed 9 years ago by noah@…
comment:1 Changed 9 years ago by Simon G. <dev@…>
- Component changed from Uncategorized to Unit test system
- Needs documentation unset
- Needs tests unset
- Owner changed from jacob to adrian
- Patch needs improvement unset
- Triage Stage changed from Unreviewed to Accepted