-
Notifications
You must be signed in to change notification settings - Fork 3
Introduced workarounds for technical debt 251 #254
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Introduced workarounds for technical debt 251 #254
Conversation
Signed-off-by: Kosta Ilic <[email protected]>
Signed-off-by: Kosta Ilic <[email protected]>
Signed-off-by: Kosta Ilic <[email protected]>
Signed-off-by: Kosta Ilic <[email protected]>
…hat made more sense. Signed-off-by: Kosta Ilic <[email protected]>
…ames. Signed-off-by: Kosta Ilic <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we need/want to run doctests through Sphinx. I assume you added this to enable the .. testsetup:: directive and that pytest supports it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bkeryan, I suggest we look together at the root cause and a fix I'd like to propose for that before spending more time on this PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this issue only affect run_unit_tests_oldest_deps.yml? If so, I think disabling doctests on the command line in that workflow file would be a less obtrusive workaround. If --no-doctest-modules doesn't work, try -p no:doctest.
This is a workaround for incorrectly skipped documentation tests. Incorrect skipping is due to the issue described in #251
I commented out the lines that were causing the skipping, and introduced an alternative implementation that is not elegant but works.
So we don't lose test coverage due to a bug in a dependency.
What testing has been done?
I ran documentation tests with version of numpy that these tests should work with. Before the change I noticed 4 skipped tests, after the change there were no skipped tests.