#17153: Print the git branch when doctesting
-------------------------------------+-------------------------------------
Reporter: jhpalmieri | Owner:
Type: enhancement | Status: needs_work
Priority: major | Milestone: sage-6.4
Component: doctest framework | Resolution:
Keywords: | Merged in:
Authors: John Palmieri | Reviewers: Jeroen Demeyer
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/jhpalmieri/print_branch | 3ccc895dc14ea8c702d25b4f98c4740c6f1139b7
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by jdemeyer):
Replying to [comment:3 jdemeyer]:
> I also wouldn't use `check_output()`: if `git` fails for whatever
reason, that shouldn't be a reason to abort doctesting.
To be more precise, do use `check_output()` but wrap it in a
{{{
try:
...
except subprocess.CalledProcessError:
pass
}}}
--
Ticket URL: <http://trac.sagemath.org/ticket/17153#comment:6>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.