#15120: Fix doctest doctests in git layout.
-------------------------------------------+----------------------------
Reporter: robertwb | Owner:
Type: bug | Status: needs_review
Priority: major | Milestone: sage-5.12
Component: Doctests | Resolution:
Keywords: | Merged in:
Authors: | Reviewers:
Report Upstream: N/A | Work issues:
Branch: u/robertwb/ticket/15120 | Commit:
Dependencies: | Stopgaps:
-------------------------------------------+----------------------------
Comment (by SimonKing):
Talking about doc tests: They are not finished on my laptop, yet. But I
already got one error:
{{{
sage -t src/sage/doctest/forker.py
**********************************************************************
File "src/sage/doctest/forker.py", line 82, in
sage.doctest.forker.init_sage
Failed example:
print PrettyPrinter(settings={'wrap_line':True}).doprint(s)
Expected:
29 28 27 26 25 24 23 22 21 20 19 18
17
x + x + x + x + x + x + x + x + x + x + x + x
+ x +
<BLANKLINE>
16 15 14 13 12 11 10 9 8 7 6 5 4
3
x + x + x + x + x + x + x + x + x + x + x + x + x
+ x + x
<BLANKLINE>
2
+ x
Got:
29 28 27 26 25 24 23 22 21 20 19 18
17 16 15 14 13 12 11 10 9 8 7 6 5 4
3 2
x + x + x + x + x + x + x + x + x + x + x + x
+ x + x + x + x + x + x + x + x + x + x + x + x + x +
x + x + x + x
**********************************************************************
1 item had failures:
1 of 14 in sage.doctest.forker.init_sage
[436 tests, 1 failure, 18.51 s]
}}}
So, the problem is just wrong line break.
And now the real problem starts, namely the reviewing problem: If I
understood correctly, you did two commits (`Fix --new option for
doctests.` and `Fix doctest doctest due to directory restructure.`) here.
Has this doctest error been introduced by your two commits, or by a
"dependency"---and what is a "dependency", anyway???
--
Ticket URL: <http://trac.sagemath.org/ticket/15120#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/groups/opt_out.