You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In instances where the first line of a doctest is a REQUIRES statement like a module
>>> # xdoctest: +REQUIRES(module:kwarray)
It should check if that requirement is satisfied before doing the global import. Furthermore, it should determine if any blocks of code are satisfied before doing a global import.
This is causing an issue in netharn.examples.object_detection, where there is a global kwimage import, but we are testing in minimal dependecy mode. All of the tests are marked as requiring the kwimage module. So it would be best of none of these tests were executed.
Additionally, there should be a way to globally disable a module from being included in xdoctest.
Additionally, when the global import fails, this breaks the entire harness run, not just the single doctest. That should be fixed such that only that doctest fails.
The text was updated successfully, but these errors were encountered:
In instances where the first line of a doctest is a REQUIRES statement like a module
It should check if that requirement is satisfied before doing the global import. Furthermore, it should determine if any blocks of code are satisfied before doing a global import.
This is causing an issue in netharn.examples.object_detection, where there is a global kwimage import, but we are testing in minimal dependecy mode. All of the tests are marked as requiring the kwimage module. So it would be best of none of these tests were executed.
Additionally, there should be a way to globally disable a module from being included in xdoctest.
Additionally, when the global import fails, this breaks the entire harness run, not just the single doctest. That should be fixed such that only that doctest fails.
The text was updated successfully, but these errors were encountered: