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
ellipsis for doctest line numbers #16626
Comments
This comment has been minimized.
This comment has been minimized.
Dependencies: #16504 |
comment:2
Depends on #16504 to avoid conflicts. |
New commits:
|
Author: Volker Braun |
Commit: |
comment:5
The dumb question which needs to be asked is whether there is any mechanism here for making sure it doesn't come back. At a minimum, is this in the developer guide? Otherwise there will be more tickets 'fixing' this. On a different note, what was |
comment:6
I'll add a check to the doctest framework. In plain python you need to turn on ellipsis per doctest, but we made it default. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:8
Done, will now raise an error similar to how tabs raise an error. |
comment:9
Should get an opinion from someone who understands the doctest framework better, but this answers all my questions and then some. |
Reviewer: Martin Albrecht |
comment:10
Looks okay to me (I ignored all MIP stuff when reading) |
comment:11
Volker, could you say what happens with |
Changed reviewer from Martin Albrecht to Martin Albrecht, Dima Pasechnik |
comment:13
AFAIK it's in there because o the dependency: #16504 |
comment:14
OK, makes sense. |
Branch pushed to git repo; I updated commit sha1 and set ticket back to needs_review. Last 10 new commits:
|
comment:16
I merged in #16622 to resolve a merge conflict |
Branch pushed to git repo; I updated commit sha1 and set ticket back to needs_review. New commits:
|
Changed branch from u/vbraun/ellipsis_for_doctest_line_numbers to |
Warnings (including deprecations) should be of the form
Note the ellipsis. Putting the actual source line number in there is not cool.
Depends on #16504
CC: @nathanncohen @dimpase
Component: doctest coverage
Author: Volker Braun
Branch/Commit:
5e81606
Reviewer: Martin Albrecht, Dima Pasechnik
Issue created by migration from https://trac.sagemath.org/ticket/16626
The text was updated successfully, but these errors were encountered: