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)
comment:1 Changed 10 years ago by
|Component:||Uncategorized → Unit test system|
|Owner:||changed from Jacob to Adrian Holovaty|
|Triage Stage:||Unreviewed → Accepted|