Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sagemathgh-36183:
sage.misc.sageinspect
: fix doctest warnings due t…
…o modularisation We fix the following doctest warnings: ``` sage -t --long --warn-long 30.7 --random- seed=263240816384135969928803999009622073573 src/sage/misc/sageinspect.py ********************************************************************** File "src/sage/misc/sageinspect.py", line 1627, in sage.misc.sageinspect.sage_getargspec Warning: Variable 'Foo' referenced here was set only in doctest marked '# needs sage.misc.cython' sage_getargspec(Foo.join) ********************************************************************** File "src/sage/misc/sageinspect.py", line 1629, in sage.misc.sageinspect.sage_getargspec Warning: Variable 'Bar' referenced here was set only in doctest marked '# needs sage.misc.cython' sage_getargspec(Bar.join) ********************************************************************** File "src/sage/misc/sageinspect.py", line 1631, in sage.misc.sageinspect.sage_getargspec Warning: Variable 'Bar' referenced here was set only in doctest marked '# needs sage.misc.cython' sage_getargspec(Bar.meet) [353 tests, 32.04 s] ``` These are (currently) the only warnings I see when running `./sage -t --long src/sage/misc/`. ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> <!-- If your change requires a documentation PR, please link it appropriately --> <!-- If you're unsure about any of these, don't hesitate to ask. We're here to help! --> <!-- Feel free to remove irrelevant items. --> - [x] The title is concise, informative, and self-explanatory. - [x] The description explains in detail what this PR is about. - [ ] I have linked a relevant issue or discussion. - [ ] I have created tests covering the changes. - [ ] I have updated the documentation accordingly. ### ⌛ Dependencies <!-- List all open PRs that this PR logically depends on - sagemath#12345: short description why this is a dependency - sagemath#34567: ... --> <!-- If you're unsure about any of these, don't hesitate to ask. We're here to help! --> URL: sagemath#36183 Reported by: David Coudert Reviewer(s): Frédéric Chapoton
- Loading branch information