#19271: Fix logging in doctester
-------------------------------------+-------------------------------------
Reporter: SimonKing | Owner:
Type: defect | Status: needs_review
Priority: critical | Milestone: sage-7.2
Component: doctest framework | Resolution:
Keywords: | Merged in:
Authors: Jeroen Demeyer | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/jdemeyer/logs_test_log_should_log_the_tests|
58288915926164d4f120425e929cecb5706c1e48
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Changes (by chapoton):
* milestone: sage-6.9 => sage-7.2
Comment:
I have failing doctests with the branch here.
{{{
File "src/sage/doctest/test.py", line 299, in sage.doctest.test
Failed example:
print(open(t).read())
Expected:
Running doctests...
Doctesting 1 file.
sage -t --warn-long 0.0 simple_failure.rst
**********************************************************************
File "simple_failure.rst", line 7, in
sage.doctest.tests.simple_failure
Failed example:
a * b
Expected:
20
Got:
15
**********************************************************************
1 item had failures:
1 of 5 in sage.doctest.tests.simple_failure
[4 tests, 1 failure, ...]
----------------------------------------------------------------------
sage -t --warn-long 0.0 simple_failure.rst # 1 doctest failed
----------------------------------------------------------------------
...
Got:
<BLANKLINE>
}}}
and another one in the same file.
--
Ticket URL: <http://trac.sagemath.org/ticket/19271#comment:13>
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 https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.